LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Wavecrest Instrument driver, Does anyone have the Wavecrest DTS207x.fp drivers written?

I have completed most of the code, however, I am having trouble formating the waveform data or any data array sent back. Using the Scan and Fmt documentation in the manuals are not very in depth on how to parse the data. The format is in the ANSI/IEEE std, 754-1985.
What Scan command format will parse the integer array?

Chip
0 Kudos
Message 1 of 6
(3,733 Views)
Hi,

When you want parse an integer array of 25 integers from Motorola format to
your platform specific format you can use following line:
ViInt32 data[25]; // Data in Motorola format
ViInt32 newData[25]; // correct data for your platform
Scan (data, "%25d[b4o3210]>%25d[b4]", newData);

If you need convert data from Intel format you can use modifier o0123
instead of o3210.

You can use VISA functions too with format string 'b'
For example: instrument returns 25 integers in 100 bytes + 5 bytes header.
(#3100........ data are returned in IEEE 488.2 arbitrary block )
ViInt32 data[25];
ViInt32 dataCout = 25; // You want read 25 integers

viPrintf(io, "GET:DATA?");
ViScanf(io, "%#bl", &dataCount, data);

dataCount is input/output parameter

If you will
format Real32 data you can use format string "%#bz", for more
details see NI-VISA programmer reference manual function viScanf().

Zdenek
"ASIC IIBU Tech" wrote in message
news:101-50650000000800000088150000-982303670000@quiq.com...
> I have completed most of the code, however, I am having trouble
> formating the waveform data or any data array sent back. Using the
> Scan and Fmt documentation in the manuals are not very in depth on how
> to parse the data. The format is in the ANSI/IEEE std, 754-1985.
> What Scan command format will parse the integer array?
>
> Chip
0 Kudos
Message 2 of 6
(3,733 Views)
I'm very interested by this driver too, i use DTS2075.
Thanxs by advance for your help...
0 Kudos
Message 3 of 6
(3,733 Views)
This is what I have written sofar... The data transfers don't work... Legacy driver code
Download All
0 Kudos
Message 4 of 6
(3,735 Views)

Hi Chip,

I just bought a used Wavecrest DTS2075 Digital Time System for phase noise and jitter measurements. I understand their VISI 6.x software provides PC plotting and storage of data. I am running Labview 8.20 Professional and wonder if there are any Labview drivers and VI are available to emulate VISI's functionalities.

I would be interested to engage someone to develop the necessary driver and vi for 207x console on a fee basis.

 

Patrick

pkuniverse@topet-intl.com

 

 

0 Kudos
Message 5 of 6
(3,545 Views)
 
Hi Patrick,
I wasn't able to find an instrument driver for this device, but the commands necessary to communicate with this device is found in the user manual in Section 3 located here.
 
If you are interested in someone to develop this for you, here is a link to our Alliance member page that could help you find someone in your area.
 
I hope this helps!
 
Regards,
Missy S.
Project Engineer
RoviSys
0 Kudos
Message 6 of 6
(3,525 Views)