Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to I create delays (seconds + Minutes) in BASIC program

I am tyring to generate timed digital outputs via my DAQ (NI USB-6229) and need to create some very simple timing under program control.

 

The delays are required to be 500ms to 3 sec.

 

I have tried using the Timer found in the toolbox but having trouble sending the correct parameters.

Could you please help.

- Panorama 

  

0 Kudos
Message 1 of 4
(3,596 Views)
What version of Measurement Studio are you using? Have you tried the examples in C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET3.5 ? The 6229 should be very capable outputting data between 500ms and 3 seconds, depending on the amount of jitter that is acceptable to your program you could do this using a software loop.
Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 2 of 4
(3,565 Views)

I specifically need examples of using a watchdog Timer in Measurement
Studio.
I am using Measurement Studio 2009 for Visual Studio 2008.
I need to trigger a watchdog timeout when program execution is taking too
long.

The on-line technical support only gives examples for LabView ... not
measurement studio.

Your help will be greatly appreciated.

 

Panorama

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

The example is located here:

 

C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET3.5\Digital\Generate Values\WriteDigChan_WatchdogTimer

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 4 of 4
(3,535 Views)