11-23-2017 07:01 AM
Hello,
I am trying to get the signal of a Lecroy HDO oscillo using the driver.
The oscillo is triggered by a pulser and I would like to get the signal of the oscillo after each trigger received from the pulser.
In the driver I found VI to trigger the oscillo from Labview but none that gets the trigger received by the oscillo (sent by the pulser).
Can you help me?
Thank you
Solved! Go to Solution.
11-23-2017 12:48 PM
Not much info to go on, and no code to look at. If I understand correctly you have..
A pulser (hardware?), sends a trigger pulse to the scope, the scope performs a measurement and after that you want to read the data to the PC using LabVIEW.
Is the pulser controlled by LabVIEW?
What frequency do the measurements occur?
How long does a measurement take?
How much data are you trying to retrieve? (100 bytes or 100MB?)
Can the scope measure while transferring data? (Newer scopes can older scopes can't always.)
Some things are possible. If you are just sending 1 pulse or pulsing at a very slow rate (1Hz) you can probably capture every pulse then transfer it directly from the scope to LabVIEW. If you are pulsing at >10Hz, your scope probably needs internal memory to buffer traces before transferring to the the PC.
For single pulse or low freq setup you would set the scope to toggle a status register after it measures. Then your LabVIEW program would poll the scope in a loop reading that register waiting for it to be true, and then read the data.
For multiple pulse, higher frequencies other scheme would have to be worked out.
11-27-2017 03:11 AM
Hello cstorey,
Not much info to go on, and no code to look at. If I understand correctly you have..
A pulser (hardware? Yes, DG535), sends a trigger pulse to the scope, the scope performs a measurement and after that you want to read the data to the PC using LabVIEW. Exactly
Is the pulser controlled by LabVIEW? No, another DG controls the DG535 (for measurements synchronization )
What frequency do the measurements occur? 10Hz
How long does a measurement take? 10 ns most of the time and 100 µs for the others
How much data are you trying to retrieve? (100 bytes or 100MB?) a few bytes for 10 ns and 10 MB for 100 µs.
Can the scope measure while transferring data? (Newer scopes can older scopes can't always.) Yes, it's a Lecroy HDO
Some things are possible. If you are just sending 1 pulse or pulsing at a very slow rate (1Hz) you can probably capture every pulse then transfer it directly from the scope to LabVIEW. If you are pulsing at >10Hz, your scope probably needs internal memory to buffer traces before transferring to the the PC.
Thanks for your questions. It helped me. I have to think more about it...
11-27-2017 09:06 AM
I've never automated the Lecroy scopes. But but 10MB at 10Hz, that's 100MB/s repeatedly plus overheat commands on the bus - sounds like too much to me.
You would be best saving each pulse dataset to a file on the internal HD of the scope. Name the files sequentially i.e. 1,2,3,..N. Once the measurement is finished you then read each file back to the PC and perform analysis. You should look at the Lecroy manual for commands to do this automatically. Or call Lecroy for support.
11-29-2017 08:46 AM
I am going to try this way. Thanks for your advice.
Lindsay30
11-29-2017 09:09 AM
Good luck! If you get stuck or want advice, post the code (in a new thread) and we can help.
Cheers.