LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is this DAQ Digital IO control VI correct ? (Tester reboots every 2 hours)

Hi, Would just like to find out if the my to control my DAQ digital output lines and measure DAQ Analogue Inputs are correct ?

 

These VI's are called many times from my TestStand sequence, and I am not 100% about using the unreserve and clear task in the VI, and if I have used it correctly.

 

For some reason, my tester automatically reboots after about 2 hours of use, hence I would like to make sure this VI is not the cause.

 

Any feedback appreciated.

 

Thanks

Download All
0 Kudos
Message 1 of 4
(2,395 Views)

How are you running these VI's?  They look like they execute one time.  There is no while loop around them.

 

If you are using run continuous, you are creating a task and clearing it every iteration.  I would suspect that you are slowly eating up resources that eventually causes a PC crash and reboot.

 

When it reboots, what do you see?  Are you getting a BSOD (blue screen of death)?

0 Kudos
Message 2 of 4
(2,381 Views)

These are called from my TestStand Seq file to control relays and take measurements. These are only called one at a time, as the sequence runs out.

I'd say after the sequence has run 70 times (testing 70 individual units) the PC simply reboots.

 

What would be the best way to amend this VI's ?

 

Thanks

0 Kudos
Message 3 of 4
(2,378 Views)

I'm not familiar with teststand, so I can't offer any recommendation on that.

 

But 70 times does not seem like a lot of times that should cause this problem.

 

Can you track memory usage using the task manager during this time?  Are you getting a blue screen?

0 Kudos
Message 4 of 4
(2,373 Views)