Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I trigger multiple counters in VB?

I am using a 6608 card to measure frequency by counting a certain number of periods from my source and comparing that to the count from the 80MHz clock. My accuracy is not what it should be, because I haven't figured out how to trigger both counters simultaneously. I know I need to use a hardware trigger and the select_signal function, but I'm having trouble figuring out the exact function calls. Is there any code samples out there in Visual Basic that shows how to do this?
0 Kudos
Message 1 of 2
(2,348 Views)
Hi Nate!

The function that you are looking for is GPCTR_Change_Parameter with paramID = ND_Start_Trigger.

For an example, you can take a look at the: Program Files/National Instruments/NI-DAQ/Examples/VBasic/TIOgenSquareWaveStartTrig.vbp.

Hope this helps.

Regards,
Erin
0 Kudos
Message 2 of 2
(2,348 Views)