Test and Measurement Forum

Resetting 4227 during Labview vi development

Post your LabVIEW discussions here

Resetting 4227 during Labview vi development

Postby ecki@bas.ac.uk » Mon Jan 06, 2014 10:28 am

I am writing Labview code for a Picoscope 4227. Inevitably some changes result in failures which means the code stops before the 4227 gets a close command. I find that getting the 4227 to a state when the next time the program runs the open command works is really problematic. Sometimes just unplugging the USB cable is sufficient. Sometimes I have to restart the computer before the 4227 comes back and sometimes not even that will do. How do I reset the 4227 in a consistent way so I don't waste so much time just getting the thing to respond?
ecki@bas.ac.uk
Newbie
 
Posts: 0
Joined: Fri Oct 18, 2013 10:01 am

Re: Resetting 4227 during Labview vi development

Postby Martyn » Tue Jan 07, 2014 2:26 pm

Unplugging the USB cable and/or going to task manager and killing the application should be sufficient. Rebooting the PC should not be necessary unless the crash has caused the O/S to fail in some way.

Are there any odd entries in the Event Viewer logs ?
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2287
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Resetting 4227 during Labview vi development

Postby ecki@bas.ac.uk » Tue Jan 07, 2014 3:04 pm

Martyn,
thanks for your reply. By experiment I have found that closing down Labview and restarting it solves the problem reliably but unplugging the USB connection does not. There was nothing obvious in the event viewer. Seems like Labview holds onto the usb port until either it gets a specific instruction to release it or the program closes down.
Ed
ecki@bas.ac.uk
Newbie
 
Posts: 0
Joined: Fri Oct 18, 2013 10:01 am


Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests