Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Reset on 5112

Hi,
 
 
How can I put reset button on my NI 5112 application sample? It seems the yellow block blocked my input. Why?
 
Also, how can I add a start button?
 
 
Attached is my sample
0 Kudos
Message 1 of 10
(4,100 Views)

First of all, in your VI, all you have is a picture of a block diagram.  You do not have any actual VIs.
Secondly, your start button question has been addressed here and here.
-Alan A.

0 Kudos
Message 2 of 10
(4,092 Views)
Dear Alan:
 
All you have is a picture of a block diagram. Did you mean I need to look at the picture and create it by myself?
If so, I got it and I am willing to do. Can you answer to me pls?
0 Kudos
Message 3 of 10
(4,077 Views)
Well, yes, you have to have actual VIs on your block diagram.  You can not use pictures.  Your question about buttons have been addressed, and a great example was provided by tst in this thread.
-Alan A.
0 Kudos
Message 4 of 10
(4,065 Views)

Hi,

 

Thanks!

 

Does NI 5112 board has digital I/O ? I noted it has analog input CH1, CH2. Traigger (is it analog input, if so, is there any difference between

CH1 and CH2), serial port, PIF something that (is it for digital I/O)

 

What is the difference between BNC cable and lead cable? BNC cable usually connected to oscilloscope and lead cable can usually connected to DC power supply? They both can measure voltage, why we need to seperate the cable to measure?

 

I have a power on and off switch, 6 to 4V button, reset butoon, enable button, beep button and shock test button on my test fixture.

Can I use NI 5112 to automatally acquire the signal from the test panel of the Labview using keyboard shortcut key?

 

 

0 Kudos
Message 5 of 10
(4,062 Views)
Hello Wang,
 
The NI-5112 does not have digital I/O! Analog input channels 1 and 2 are not different. I didn't understand your question about the two different cables and why you need to seperate. Could you please elaborate on that a bit?
 
As for having the 5112 acquire with keyboard shortcuts, you would be able to do that with key navigations. You would need to assign keyboard shortcuts to controls (buttons) in the front panel of your VI to automatically acquire signals with key strokes. You can learn about key navigations from Chapter 4 of the LabVIEW User Manual. Please let me know if you have any further questions. 
 
 
Regards,
Ayman K
 

Message Edited by Ayman K on 08-24-2005 08:21 PM

Message Edited by Ayman K on 08-24-2005 08:22 PM

0 Kudos
Message 6 of 10
(4,038 Views)
Dear Ayman,
 
 
NI5112 has no digital I/O. What's about PIF? Is PIF a digital input? I read the specification of NI5112, it was like it is a digital input.
 
Also, I don't quite understand Trigger input, in what case we would use Trigger input?
 
 
 
Regards,
Wang 
0 Kudos
Message 7 of 10
(4,019 Views)

Wang,

You would use the Trigger input when you want to provide an external trigger that is different from the signals you are acquiring through the two analog input channels.

As for the PFI (Programable Function Input) lines, they are digital but they input and output specific signals. Here is an excerpt from the NI-High-Speed Digitizers Help file that shows the different signals that you can input and output using the PFI lines.

The NI 5112 has two front-panel digital lines that can accept a trigger, accept or generate a reference clock, or output probe compensation to PFI 1.

PFI Lines as Inputs

You can select PFI 1 or PFI 2 on the NI 5112 as an input for a trigger or a reference clock. For example, you can accept a 10 MHz reference clock from an external source rather than using the PXI backplane 10 MHz system reference clock or the clock of another NI 5112 through the RTSI clock line.

PFI Lines as Outputs

You can select PFI 1 or PFI 2 to output the following digital signals:

  • Reference Clock is a 10 MHz TTL-level clock signal. You can use the reference clock to synchronize another NI 5112 configured as a slave device residing in another PCI or PXI chassis, or other equipment that can accept a 10 MHz reference clock.
  • Frequency Output is a 1 kHz digital pulse-train signal with a 50% duty cycle, which means that the signal is high and low for the same length of time. Commonly, the Frequency Output signal provides a signal for compensating a passive probe.
  • Trigger Output is a TTL signal that pulses to a high level for at least 40 ns after the device triggers.
  • Synchronization pulse for synchronizing multiple devices

Ayman K

0 Kudos
Message 8 of 10
(4,014 Views)
Hi
 
1) NI 5112 have no digital I/O. The PFI1 and PFI2 is for measuring specific digital signals, right?
 
2) Analog input channel 1 and 2 are different or not, can you clarify me here?
 
3) Keyboard shortcuts can automatically acquire signals with a key strokes. What about the "Run" button of VI? What can do about it?
 
4) What is external trigger? Can you give example of the difference between the signal in CH1 or CH2 with external trigger?
0 Kudos
Message 9 of 10
(3,995 Views)

Wang,

As indicated in my previous post,

 

1. PFI is not used to measure signals. It is used as a source of an external clock or for triggering.

2. The difference between input channel 1 and 2 is the name. One is called CH 0 and the other is called CH 1.

3. This question was addressed in another LabVIEW discussion forum posted by you to the LabVIEW team.

4. External trigger is a signal that is used to trigger analog input operations on channel 0 and 1. For instance, if you are acquiring a signal in channel 0 and you only want to read the data when a digital signal is fired (rising edge on a digital line) then you would use an external trigger, connect your digital signal into the trigger line and connect the signal you want to measure in channel 0 or 1. External trigger is not used for measurement, you can not measure signal using the external trigger input.

 

Ayman K

0 Kudos
Message 10 of 10
(3,988 Views)