error:-1074130544 after you call TDS 3034 B via Ivi_WriteInstrData and Ivi_ReadInstrData

Hello

I wrote a C++ DLL for direct access in a testprogramming language called CAPL. CAPL belongs to sw canoe of the vector.

I can send as many writing commands I want like:

"Status = tkds30xx_WriteInstrData (session,"BEAUTIFUL");

which works very well one defines the status always to 0.

but as soon as I ask sth. as 'SET?' for example:

"Status = tkds30xx_WriteInstrData (session,"SET?");

and read it with:

"Status = tkds30xx_ReadInstrData (session, 5000, InstruData, & BuffLenout);

This works only once. So far, he defines status always to 0.

Now, if I try another command of WriteInstrData... like 'SET?' oder 'NICE '.

Status is set on 1074130544 and IVI driver will prevent the send command.

Why is my invalid session here?

Find attached capture OR SPY...

Kind regards

Florian

Hi, as the viQueryf function, you must include the file visa.h.

What IDE are you using?

Tags: NI Hardware

Similar Questions

Maybe you are looking for

  • Satellite A30: still missing 2 drivers

    Hello I have a Toshiba laptop, the thing is I lost my cd original re-installaition, so I don't have the drivers or some thing els... I re-intall windows xp... but now I need drivers... some drivers I could download from the internet, but still miss m

  • List of contacts of parental control over Kids

    Is it possible to activate the parental contact management feature for children? How Microsoft envisions a parent right now, not before that point, trying to control more precisely a childs contacts list?

  • 6500 has more: cannot print Surface Pro 3 - a persistent problem that is ALWAYS the case.

    3 surface Pro, Windows 10 (64 bit) put in place. I constantly have problems everytime I try to print documents. Print HP says the wireless network window is not connected, but the printer wireless network Test report HP says it's on - GO. The drivers

  • How can I find/recognition and correction of an error in registry?

    Netflix messaged me that I needed to re - install Silverlight. I uninstalled the program. When I tried to re - install. "I get the following message:" Message ID: 1622 The Setup log file could not be written. Verify that the Temp folder exists and th

  • Vista home premium-32-bit network share problem

    I have a laptop and a desktop pc my laptop using windows vista family premium 32 bit and my desktop pc using windows 7 ultimate 32 bit After that, I want to my computer and the laptop via a cable LAN file sharing. I have this Setup: -network discover