Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Some serial drivers for lab stuff

Hi Sébastien,
I don't have any idea if this will help, but I just spent a bunch of time figuring out how to talk to my pH meter, and was making the silly mistake of using the wrong serial cable... because the meter is more commonly used to drive a printer, it has the same pin settings as the computer. Rather than a normal serial cable, I had to build a crossover cable, then everything worked.

hope this is of some use,
mike
0 Kudos
Message 11 of 31
(3,182 Views)
Sebastien, I think mike is right you probably need a cross-over cable.
Gianmarco
0 Kudos
Message 12 of 31
(3,146 Views)
hello every one,

Thank you for your messages, I just come back to office ( bad flu)  and  i  going to look
 at this cable more precisely.

I keep you informed of discoveries

Sébastien




Message Edité par tinnitus le 01-18-2008 03:26 AM
CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 13 of 31
(3,130 Views)
Hi everyone,

I finaly found the cause of dysfunction

I succeed to reach a real mettler technicien (after three attempts) who gave me more information

For me : the cable must be  straight (original cable) but command sound like that " K_nb"

i.e: K for keyboard and nb the number associated with the key ex Read = K 4

He promissed me to send me the complete book

I'm waiting for   Smiley Happy

Tank you for all

See you soon

Sébastien







CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 14 of 31
(3,120 Views)
I just received the " command set reference manual" in pdf format for sevenmulti, for those who would be interested :


CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 15 of 31
(3,063 Views)
What a *ù$^$^ù*

If someone simply succeed to send a command and recover a response  he can give me a sign  because

i'm a little bit exasperate trying without results.

The commands work perfectly using hyperterminal but no way via labview, however that look extremely simple !!!!!!!!!

i use a serial configure box, a write, a read , a close ........ nothing

Sincerely

Sébastien



CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 16 of 31
(3,054 Views)
Instead of just complaining that you can't get something to work, why don't you post an example of what you've tried? The actual VI with data (not empty front panel controls) is the best thing to post. My guess is that you've used the wrong format for the data or termination character but reeally need to see your code.
0 Kudos
Message 17 of 31
(3,047 Views)
you have funny manner of seeing, I can understand that my English irritates the ears Smiley Very Happy, for the remainder...

So, here a capture of diag and front panel and the vi file:

The command i tried is "IS" , command are only in caps, IS is a simple command that return instrument state (doc page 😎

aucun=none.

Best regards

Sébastien
CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 18 of 31
(3,033 Views)
Section 1.1 of the  manual says that each command has to be terminated with CR/LF. You are not doing this as I suspected. The characters are on the string pallete and you can add them with the concantanate with string funciton or right click on your string constant and select '\' Codes Display. The '\' Codes for CR and LF are \r and \n.
0 Kudos
Message 19 of 31
(3,017 Views)
I read second time my message 16, my aim was not to grumble against forumers but I have not a great control of english, so may be french expressions take a bad way with translation. I was angry after myself, the documentation which I put 1 month to obtain and the material of which I can dispose only 2* 2h per week and a heap of other things that I have to do. It was in no case to insult the forumers, so if some understood this way, I beg your pardon.

Thank you for the easy way “\”, I think that indeed that comes from the crlf. I could assure you only Wednesday when I will have the device

Best regards

Sébastien




Message Edité par tinnitus le 01-28-2008 08:27 AM
CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 20 of 31
(2,987 Views)