Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6259 counter trigger using only hardware

Hi, I have the USB-6259 daq device, what i want to do using the hardware, configure the device, so that through hardware, it looks for a digital line and when 50 edges have been detected on the counter 0 line then it changed the value of one of the booleon lines. I am basically controlling a motor that I wish to run turn the device on by a switch, let it run for 50 edges and then turn itself off when 50 edges is complete. and i dont want to have to be running labview for this to work, i would like to do it all in hardware.
 
Regards
 
Pete
0 Kudos
Message 1 of 3
(3,499 Views)
Hi There,
 
Unfortunatelly you are unable to create this functionalitly without some kinda of code running in the background.  However you can create a LabVIEW program that will initialise the terminal count you are looking for, and then lie dorment until you press a stop button for the code. (using little to no CPU time slices)
 
The following link will point you in the direction of the functions you need to set up the counter you are refering too. (known as a terminal count)

[broken link removed]

 
Hope this helps
 
AdamB
Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 2 of 3
(3,478 Views)
 

Also,

Have a look here

https://www.ni.com/en/support/documentation/supplemental/21/using-the-counter-output-event-property-...

AdamB

Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 3 of 3
(3,476 Views)