12-20-2006 10:57 AM
12-21-2006 01:11 PM
Hi John28,
Have you seen the following document regarding warp mode?
Implementing Warp Mode on NI-6120 and NI-613x Devices
This addresses the topic in LabVIEW, but it should be exactly the same for C++.
You will need to perform VISA Writes to the device’s registers in address space 12 using the viOut16 and viOut8 functions. These can be found in the VISA documentation.
ViStatus viOut16(ViSession vi, ViUInt16 space, ViBusAddress offset, ViUInt16 val16)
ViStatus viOut8(ViSession vi, ViUInt16 space, ViBusAddress offset, ViUInt8 val8)
You will need to specify the following parameters:
To Disable Warp Mode
viOut16
address space: 12
offset: x24
value: x3
viOut8
address space: 12
offset: x1D
value: x10
To Enable Warp Mode
viOut16
address space: 12
offset: x24
value: x5
viOut8
address space: 12
offset: x1D
value: xC
Keep in mind that when using warp mode, the first data point should be discarded.
I hope this helps. Post back if you have further questions.
Ed W.
Applications Engineer
National Instruments