Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

May I just close DOS window when I want to finish work?

When I writing my program in C, there is a thought come to my mind.

May I continuously output data, like I/O or AO, in a while loop,
and just close the DOS window when I want to finish my work?
(though there are many example of AO set output 0 V at the end of code.)
 
If it is work, and doesnt harm to the card, it may be easier for my programing.
I am wondering if this is OK for the card?
 
Thanks
0 Kudos
Message 1 of 4
(3,183 Views)

It should be OK.

May I know which OS? which C complier? which NI hardware? which NI-DAQmx version? or which NI-DAQ version?

Thanks

NITW AEs

ni.com/taiwan/forum.

0 Kudos
Message 2 of 4
(3,171 Views)
Thanks Wu,
Here are the information:
 
OS                    : Windows XP professional
C complier        : Microsoft Visual C++ 2005
NI hardware      : PCI-6711
NI-DAQ version: 7.1.0f1
 
If it is OK to close DOS window directly,
the AO output might be hold the last value.
 
It is OK that dont output 0 V of AO after work?
0 Kudos
Message 3 of 4
(3,165 Views)

Hi

As u said, the device output will keep the last value if u don't reset it.

i suggest u to reset the device or change the output value to 0 after finish your problem.

NITW AE JAY

0 Kudos
Message 4 of 4
(3,144 Views)