Hallo, I need of informations about the behaviour of my NI5112 digitizer.
I’ve installed a PCI model with Labview 5.1 and Niscope, and I made some changes on “niscope ex fetch forever.vi” shipping example, due to make possible a continuous acquisition with different configurations:
1)Acquisition on one or both the analog channels,
2)10 MHz clock choice (internal or external on front PFI1 connector),
3)Trigger source choice (SW, Ch0, Ch1, Trig).
It’s all OK for both channels acquisition, but I don’t understand some things I saw about external clock and trigger.
External clock
I’ve inserted the “niscope Configure clock.vi” sub.vi immediately after the horizontal setting, wiring the integer “0” or “2” to the “input clock source” control, due to select "internal" or "PFI1" source, respectively.
When I run the program with a 10 Mhz TTL input (external clock) on PFI1 connector and the external input clock enabled, I see the acquisition is OK, but when I disconnect the external clock from PFI1, it seems the acquisition continues, without clock input!
Does the internal clock become active when the external one fails, or is there a configuration error?
Trigger
I’ve substituted the “Conf. Trigger Software.vi” with the “Conf. Trigger Edge.vi” sub.vi, so it is possible to select Ch0, Ch1 or Trig channel, wiring to “trigger source” control, the “0”, “1” or “VAL_EXTERNAL” strings, respectively.
When I set an “edge trigger” on Ch0 or Ch1, a single record of 1000 points is acquired (it’s right because it corresponds to default data on horizontal settings); after that acquisition stops (all zeroes fetching).
When I set an edge trigger on Trig channel, I see that there is no effect! Acquisition starts with or without the trigger source connected, and it indefinitely continues, as for the SW trigger setting.
Where is the error?
I’d like to know if is it possible a continuous acquisition without data loss (I cannot consider a multi-record acquisition, because there is a 100 usec not acquiring time between two consecutive records), starting at an edge of a trigger signal, with or without an external reference clock.
How can I perform that?
Thank you in advance.