03-09-2017 11:03 AM
Hello all,
I'm currently having an issue with the following configuration :
- CVI2013
- Tektronix oscilloscope ref. TBS 1052B-EDU
- Driver (instrument) tktds1k2k.fp
In my test application, I open the instrument, and then perform some initialization and configurations. After that, I enter inti a loop where I perform several predefined measurements (rise and fall time).
The problem I encounter is that sometimes, the function which configure the TriggerDelay has no effect with its last parameter :
tktds1k2k_ConfigureAcquisitionRecord (iD_Scope, (ViReal64)0.000250, (ViInt32)2500, (ViReal64)-0.000025);
The parameter is the "Acquisition Start Time" parameters. I know the value must be set regarding the sampling rate used (Horizontal Sampling Per Second) and I' take care of that.
The problem appears absolutly randomly and after many tries and long time, I still don't have the explaination neither a solution.
Did someone encounter the same problem ?
How to solve ?
Thank's in advance for help.
Regards.
Patrick
03-10-2017 04:55 AM
Hello,
Thanks for getting in touch with Tektronix, only them can provide a working example or help on how to use the functions of their driver.
Regards,
Pierre-Emmanuel BELLES
Certified LabVIEW Developper
Certified TestStand Architect
03-12-2017 12:35 PM
If you intermittently get commands failing or not responding, it's often related to hardware handshaking not implemented or coded in the implementation.
So essentially, the command string is transmitted, but the receiving device fail to clock the message in and the command is lost and never executed.
03-16-2017 10:16 PM
Hello
Thank's for your reply.
In fact, your explaination is one reason I guess..
But I simply use the instrument driver (tktds1k2k.fp) I previously uploaded, and I don't kno how it is coded. So if I well understand, I have no solution to correct this ?
Another reason was that the scope itself may loose its reference value for this parameter. This may explain why it works if I previously set TrigDelay to Zero, before sending my true value...
Tanks again.
PAtrick
03-16-2017 10:18 PM
HEllo
Does it mean that the "tktds1k2k.fr" instrument driver was not developped by NI ?
So, I will try to contact Tektronix, but if you have a direct link, I would appréciate !
Thanks again.
PAtrick