LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to recieved tif file from GPIB hardware

hello

i would like to import/export tif file from gpib hardware, and the data are sent by buffer,
i can write the first header "II*", but the next information of the tif file are not sent,
is everyone to help me
sory for my english, i'm french
0 Kudos
Message 1 of 3
(3,108 Views)
Bonjour Tom, peut vous essayer et expliquer votre problème mieux. Je suppose que vous courez le matériel de GPIB et vous employez le logiciel de GPIB et les conducteurs de Ni désolé pour mon français, l'anglais est ma deuxième langue, je suis afrikaans.
Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd
0 Kudos
Message 2 of 3
(3,090 Views)
Hello Tom,

There can be two causes to your situtation :
1. the TIFF file is indeed partially transfered from your GPIB device to your PC,
2. the TIFF file is totally transfered but you can't display it completely as a string.

In the first case, you must be carefull to the termination character (EOI). The transfer will be interrupted if the EOI character is encountered in the TIFF file.
In the second case, you may have a NULL character in your buffer. This character is the string termination character in C language. If you buffer is declared as a C string, the end of the string is considered to be the NULL character. You wil find information on how to workaround this problem in the following KB.

- "Can I Send a NULL Character Using Serial or GPIB?":
http://digital.ni.com/public.nsf/websearch/95689440C34E02D186256D89004A5648?OpenDocument

Best regards,
0 Kudos
Message 3 of 3
(3,060 Views)