Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent resetting of device at HSDIO Init Generation Session Block

HI there, I tried to explained my problem in another thread yesterday , but i realise what's the actual problem now, so I created a new thread.

 

I am using NI-PXI-6552 running on HSDIO driver. The purpose of my program is to generate continuous waveform using while loop.

 

But everytime the program loop back, it will start from the HSDIO Init Generation Session Block. This block will reset all my DIO pins to logic high, which is not what I wanted.

 

I understand that there is a input call reset instrument at the Init Generation Block. I tried to set it to False, but the device still reset.

 

So my question is why cant i stop the resetting of my device?

 

I have attached my VI for your referrance.

 

Thanks

Keith Tan

 

 

0 Kudos
Message 1 of 3
(3,201 Views)

Forgot to mention that I am using labview 7.1 version.

0 Kudos
Message 2 of 3
(3,198 Views)
You should not put your whole program inside while loop, since it'll keep on re-initializing.
Refer to Help>>Find Examples>>Hardware Input and Output>>Modular Instruments>>NI-HSDIO (High-Speed Digital I/O)>>Dynamic Generation>>Scripted>>Dynamic Generation with Script.vi on how to correct your code.
0 Kudos
Message 3 of 3
(3,192 Views)