NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
anthelme
Posts: 16
0 Kudos

[LabWindows] tcp/ip hexa

Bonjour

J'ai besoin d'envoyer / recevoir des requetes pour le protocole TCP / IP en utilisant LabWindows.
 
Mes requetes sont sous forme de chaînes hexadécimales: '00, 00, 01, 02, 00, FF, 00'.
Dans l'exemple donné par LabWindows, les données sont envoyées à une chaîne de caractères.
J'ai donc inseré un convertiseur Hexadécimal en ASCII.


Le souci est que quand je dois envoyer le caractere "NUL" ou soit 0x00 en hexadécimal, mais il n'est tout simplement pas envoyé.
En gros quand je veux envoyer '00, 00, 01, 02, 00, FF, 00' j'envoie en faite: '01, 02, FF'.

Avez-vous une idée de comment je pourrais envoyer ce type de requete ?

D'avance, merci.

Antelme

P. S.
Esque les fonctions d'émission / réception sera facilement intégré pour créer une DLL dans TestStand?
Parce que les fonctions sont appelées dans le CALLBACK je me demande si il est compatible.

Trusted Enthusiast
RobertoBozzolo
Posts: 4,572
0 Kudos

Rif.: [LabWindows] tcp/ip hexa

Wrong board: you need to open the french board and post there :smileyhappy:




Using LW/CVI from 3.1 on.

My contributions to the Developer Zone Community
________________________________________
If I have helped you, why not giving a kudos?
Member
anthelme
Posts: 16
0 Kudos

Rif.: [LabWindows] tcp/ip hexa

Sorry, I can remove unnecessary posts?

Active Participant
JérémyC
Posts: 484
0 Kudos

Rif.: [LabWindows] tcp/ip hexa

Hello,

 

No, you cannot. But you can put the link of your other post here.

 

Regards,

Jérémy C.
National Instruments France


Journées techniques : du contrôle d'instruments aux bancs de test
Du 4 au 13 juin : Grenoble - Pari...

Member
anthelme
Posts: 16
0 Kudos

Rif.: [LabWindows] tcp/ip hexa

Good idea !

 
http://forums.ni.com/t5/Discussions-au-sujet-des-autres/LabWindows-tcp-ip-hexa/m-p/2060982#M48765
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page