LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TBS1052B-EDU scope control from CVI2013 using tktds1k2k.fp

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

0 Kudos
Message 1 of 5
(3,692 Views)

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

0 Kudos
Message 2 of 5
(3,653 Views)

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.

Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd
0 Kudos
Message 3 of 5
(3,640 Views)

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

 

0 Kudos
Message 4 of 5
(3,616 Views)

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

 

 

0 Kudos
Message 5 of 5
(3,615 Views)