12-19-2006 02:40 AM
OK,
I'll do it.
Here you can find the two Gmpony's VIs for both 7.1 and 8.0 LabVIEW versions.
Hope that helps.
Best Regards
07-12-2009 05:45 AM
hi Giammarco,
i have the same problem with a thermal balance DTG-60 from Shimadzu Corporation..tomorrow i will prove your VIs. Anyway i would to know if parametres like Xonlimit, xoff limit,and replace are so important to drive my comunication with LabVIEW.....!!!!!! because i've sniffed with port monitor the logs from original program and logs with labVIEW....I can't receive nothing with LabVIEW maybe cause those parametres are different....??? In your opinion, could be another thing the source of my problem??? I have to drive that instrument with LabVIEW..Could you help me please??
Regards
07-12-2009 06:46 AM
Hi
Those parameters are of interest for the balance only. If you say to LabVIEW (no flowcontrol) it is perfectly happy. But your balance is different.
All variables should be filled in correctly.
But logging with portmon, form the start of the other program to the first communication should tell you all you need to know.
The first problem is already OK you probably have the correct cable if the other program is working.
Next it would be nice to see if LabVIEW can talk and the balance shows any sign of seeing that.
(maybe endcharacters are wrong.
After that check the reply mechanism.
good luck
07-12-2009 09:36 AM
Hi
LabVIEW, with an oscilloscope, allow me to send and receive information to instrument(oscilloscope), then i'm sure the problem is the balance. However, you said to set all variables lile those variables that i see on logs when i use the original program?? if yes, what could i make that?? in LaBVIEW is impossible set parametres like xon limit, xofflimit, ecc.. maybe i should do it with another language??
Thanks
07-12-2009 10:10 AM
Hi
I'm sending you the logs that i sniffed by the original program and other with program in LV. I'm sending you the VI that i used too. Thanks again for your collaboration.
07-12-2009 10:12 AM
As Albert said, ignore those.
Why don't you post the code you've written and attach the programming manual for the balance.
07-12-2009 10:22 AM
07-12-2009 12:48 PM
07-12-2009 01:54 PM
Hi
Xon/off limit is a software limit on how much dat still can be sent when Xoff is sent.
simply ignore that. I simply believe that we only can conclude that the balance is using Xon/Xoff as protocol and LabVIEW (VISA) can do that too.
You said I can communicate with the scope, so why not with the balance. You are correct. You can blame the balance. Its software is more complicated than is needed.
07-12-2009 05:09 PM
Hi
i have to resolve this problem because i'm an engennering student and this is my work to finish.
From original logs you can see that the istruction .SS. has like answer DTG-60, . But i don't understand why when i send .SS. with LV the balance don't answer me anything!!
Another question: in logs with sniffing using LV you can see that when i send .SS. tha balance tries to answer me, cause from sniffing we can see read lenght:0 ; but i'm confused....it's the balance that tries to answer me but it can't send me nothing, or the balance can't read the query i've send????
Thanks so much, i need to resolve this problem as soon as....