Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

timing and digital I/0

hi everyone, I am having problem with controlling the timming and digital I/O. My intrument is BNC-2110 and my card is Nidaq 6062 E.  The problem is that labview nidaq mx doesnt have enough variable for me to control in the DAQ mx export signal. For example i would want to output signal with EXTSTRB on my BNC-2110... how would i do that with nidaq mx export signal....
thank you
0 Kudos
Message 1 of 27
(4,978 Views)
Hello,

Thanks for contacting NI.  What are you trying to use the EXTSTRB line for?  While there isn't a way to directly control this line, if you describe your application, I'm sure it can be done another way. 

Best regards,
0 Kudos
Message 2 of 27
(4,955 Views)
YES, my application is to measure 3 analog inputs at specified external triggering condition. At each time the DAQ recieve the external triggering, only one measurement is taken place at each channel. Then I need to create an output voltage right after this moment. And then DAQ wait for the next triggering event and take one data from each channel again, and creating a voltage ouput again.. this process is repeated over and over....The problem is if I increase my input frequency to high then DQA seems to skip some of the triggering ( this can be verified by look at the convert signal at PFI 2 of my card )... So I need to make the speed of my program as fast as possible by using the existing pulses in the card for the out put ... for example.  ....
 I wonder if there is anygood way of doing this... please help me
0 Kudos
Message 3 of 27
(4,952 Views)
Hello mynameislam,

It sounds like you have a control application that would benefit from the Hardware Timed Single Point sampling mode.  Please refer to the following tutorial for more information on how to program this type of application (this is also located in the LabVIEW Help):

DAQmx Hardware-Timed Single Point Lateness Checking

I hope this helps!

Best regards,
0 Kudos
Message 4 of 27
(4,912 Views)

Thank you very much. I would start looking at that application today. I would send you a notification once I finish reading it

0 Kudos
Message 5 of 27
(4,902 Views)
Thank you I found an application that almost could solve all my problems. The problem could be solved by using "hardware single point" mode. But still I need sometime more than the original offset. Is there anyway I can change the offset in the hardware single point mode. Please help me
0 Kudos
Message 6 of 27
(4,866 Views)
Hello mynameislam,

I'm not sure what you mean by the "original offset".  Can you explain your application a bit more and clarify what you mean?  Also,
if you were starting from an example program, please let me know which one so that I can take a look at it. 

Thanks!
0 Kudos
Message 7 of 27
(4,854 Views)
 Thank youuuu... actually lastnight I already had my problem fixed. I was dull enough not to use hardware single point mode as the clock and the trigger nidaqmx to start acquistion... So the problem had been fixed thank you. It could also be done another way, if I could have fixed the offset of the acquistion in the hardware single point mode, According to what I read, in hardware singlepoint mode, acquistion would take place after its detecting of an edge. In my manual of DAQ 6062 E the time this acquisiton is 10 nanosecond after the rising edge of the clock....Whatif I want 10 microsecond after the rising edge to have acquistion in   the hardware single point mode. ( by that I mean offset )   Anyway thank you for helps for I am so happy to have the problem solved...
0 Kudos
Message 8 of 27
(4,843 Views)
 Thank youuuu... actually lastnight I already had my problem fixed. I was dull enough not to use hardware single point mode as the clock and the trigger nidaqmx to start acquistion... So the problem had been fixed thank you. It could also be done another way, if I could have fixed the offset of the acquistion in the hardware single point mode, According to what I read, in hardware singlepoint mode, acquistion would take place after its detecting of an edge. In my manual of DAQ 6062 E the time this acquisiton is 10 nanosecond after the rising edge of the clock....Whatif I want 10 microsecond after the rising edge to have acquistion in   the hardware single point mode. ( by that I mean offset )   Anyway thank you for helps for I am so happy to have the problem solved...
0 Kudos
Message 9 of 27
(4,845 Views)
Hello mynameislam,

Glad to hear that the program is working.  Best of luck with your application!

Best regards,
0 Kudos
Message 10 of 27
(4,842 Views)