06-05-2009 02:51 AM
Hi,
I've looked at the driver provided @ NI site, I cant find a function that can read the cursor value from the scope.
Wondering if anyone here have a driver that can do the job,
I am using TCP/IP to acquire data.
Thanks a lot.
06-07-2009 09:52 PM
Hello Maymaythar,
I am not familiar with the WavePro 7000 Series but you can always use the Instruments I/O assistant to incorporate additional command that may be provided by the LeCroy Scope. This would means if the LeCroy Wavepro Scope that you use provided a command to take the cursor value from the scope, then you can send the command using the Instrument I/O Assistant to inquire the value.
Regards,
James
06-08-2009 08:53 AM
Hi - Alan from LeCroy Tech Support here. You can readout the cursor values by sending the CRVA? query using the lcwave Write VI, followed by the lcwave Read VI to readback the response. The Read VI requests the number of bytes to read; use the number 500, which is more than enough. Both of these VIs are in the Utility subpalette of the driver.
You can read back all of the cursor values as follows:
send: CRVA?
response: HABS,UNDEF,UNDEF,HREL,-310.6E-9,40.8E-3,81.7E-3,122.5E-3,-131.5E+3,VABS,UNDEF,VREL,UNDEF
The currently configured cursor is HREL in this case, which stands for "Horizontal Relative".
Alternatively, you can request the values for a specific cursor type:
send: CRVA? HREL
response: HREL,-310.6E-9,40.8E-3,81.7E-3,122.5E-3,-131.5E+3
The choices for cursor type are HREL, HABS, VREL, VABS, for horizontal or vertical & relative or absolute.
Let me know if you have any questions!
Best Regards,
Alan
08-21-2009 01:20 AM
Used this Command "F1:Cursor_Value?" works for me now
Thanks for the suggestion.
Regds,
maymaythar