03-25-2007 08:12 PM
03-25-2007 08:25 PM
@seignseifer wrote:
...But i don't know if I write directly this command on C++, or if I have to save it into a buffer with " sprintf(buffer,"[:SENSE]:FREQUENCY:START 1MHZ ") and use the function of the visa32.lib : viWrite(.buffer....).
This does not sound like a LabVIEW question. Maybe you should try posting elsewhere, e.g.: http://forums.ni.com/ni/board?board.id=180
03-25-2007 08:30 PM
You are posting in the LabVIEW forum again.
I happen to know that the installation of VISA includes examples for the different programming languages. Have you looked at them?
You have to use the VISA functions but you don't have to write it to a buffer first. ViWrite(ViSession vi, "SEN:FREQ:START 1 MHZ", byte count, return count) will work.
03-25-2007 09:11 PM