From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-24-2009 12:05 PM
11-25-2009 10:29 AM
12-01-2009 09:23 AM
12-01-2009 11:30 AM
Hi, FSBlack,
As far as I know, this detector is equipped with Gigabit Ethernet interface (don't confuse with GigE Vision). This interface is not GigE Vision compliant, so, you will be not able to get the images with IMAQdx. But Varian provides relative simple API for communication. Install Ethernet driver from Detector's CD. Check that you are able to get images with VIVA software. Then use Varian API. All necessary functions located in VirtCp.dll.
For me was much easier to develop Wrapper-DLL for intercommunication. Theoretically its also possible to call VirtCP.dll directly, but then you need to figure out how transfer structures from LabVIEW to Varian. You need basic knowledge how to call external code from LabVIEW application.
For example, for initialization I have following function:
int LV_vip_open_receptor_link(char* path)
{
int result;
SOpenReceptorLink orl;
memset(&orl, 0, sizeof(SOpenReceptorLink));
orl.StructSize = sizeof(SOpenReceptorLink);
strncpy(orl.RecDirPath, path, MAX_STR);
result = vip_open_receptor_link(&orl);
return result;
}
Then simply call LV_vip_open_receptor_link from LabVIEW and detector will be initialized. Unfortunately I can't provide full "ready for use" source code (because used in commercial application).
Andrey.
12-02-2009 11:59 AM
So do you know of a commercial source were it or something simular could be purchased?
12-03-2009 04:15 AM
Hi, FSBlack,
Please send me e-mail to AndyDm@GMail.com. I'll send you back contact information.
Andrey.
04-10-2010 01:25 AM
Hi FSBlack and Andrey,
We are having a similar application and want to know whether you found a solution? If yes, can you kindly let me know how? You can also email me at sahibezoq@hotmail.com
09-26-2012 12:20 PM
Hey all 3 of you. It's been a couple of years since you posted this thread. I'm just about to start working some with the same panel you are talking about. Does anyone have more information about the VirtCp.dll and how to run the panel in labview?
Thanks for your help!
Henrik
09-27-2012 02:09 PM
Here is the dll info (I have not used it, just providing the info):
http://read.pudn.com/downloads100/ebook/409258/VirtualCpInterface.pdf
-AK2DM
09-27-2012 04:24 PM
Thank you AK2DM for the info. I had actually found the same dll. But I was wondering if there's anything written in LabView for the driver. I haven't used a Varian Paxscan 2520V before so I was hoping for more 🙂 Like the wrapper DLL Andrey is talking about, or even LabView VI's. But this is a good start though.
Cheers
Henrik