04-14-2025 02:16 AM
Dear all,
stuck in issue to controll antenna mast Frankonia FC06.1 using Labwiev VI.
I can send *IDN? and receive (Frankonia,FC06,0001,1.00) as expected.
But *CAL? gives timeout. *CAL does not start device calibration procedure. I guess I'm doing something wrong with GPIB communication setup.
I got software from manufacturer and it works fine!
I logged with I/O trace my VI and manufacturers VI. There are couple of differences in GPIB setup I guess... but I'm not sure how critical these are and what I'm missing.
04-14-2025 03:32 AM - edited 04-14-2025 03:36 AM
Your VI doesn't send *CAL? but only *CAL, unlike the example Manufacturer.txt that you have. The example then goes into reading an answer, not sending a *BUSY? command!
Usually devices do not like to have send other commands while they are busy doing something. If you wanted to do that the normal way with GPIB to do that would be usually to do a serial or parallel poll or an SRQ. This device may be different, but considering that they use mostly IEEE 488.2 type commands, it kind of seems strange.
You also need to read the manual for your device. a 1 response to *BUSY? seems to mean that it is busy, a 0 response that it is not. But your device sends a 2 which probably means that it is not just busy but super busy or in an error mode. Most likely you should abort your waiting loop on anything but a 1 response and treat the 2 response as some sort of error.
04-25-2025 05:20 AM
Went back and forward, spent couple of days reading through manuals and tried my approach to make simple controll software for antenna mast, but without results.
It all stops at *IDN? -> I get the right response... but all other commans run mast controller in some kind of error. But as soon as I run manufacturers sowtware, it works like a charm (without any power resets and other stuff).
I'm starting to think that there is some GPIB related setup going on in Manufacturers software, that I'm not doing at all in my VI.
... hope someone has a clue how to proceed...
04-28-2025 02:22 AM
I got antenna mast (Frankonia,FC06.1,V02) that is connected to GPIB buss. And I'm trieing to DIY automate it- writ some script in Labwiev to rise it, turn polarisation etc... But unsucsessfuly.
It all stops after *IDN? -> I get the right response!... but all other commans run mast controller in some kind of error.
I got also manufacturer software, that works like a charm..
As soon as I run manufacturers sowtware, antenna mast works perfectly (without any power resets and other stuff).
I'm starting to think that there is some GPIB related setup going on in Manufacturers software, that I'm not doing at all in my VI.
I've recorded GPIB buss massages for My VI and manufacturers software(manufacturer is runing it in Matlab environment).
... hope someone has a clue how to proceed... Is there a way to do all the stuf, that manufacturer is doing on GPIB bus...
04-28-2025 02:28 AM