Kou
-
Posts
14 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by Kou
-
-
@attilaBut in the C driver, they initialize differently.
Virtualbench.h:
NIVB_LIBRARY_VERSION 302039040
niVB_Status NIVB_DECL niVB_Initialize(uint32_t version, niVB_LibraryHandle* handle);
dwf.h:
DWFAPI int FDwfDeviceOpen(int idxDevice, HDWF *phdwf);
So,they’re different.
How can I call ADP using virtualbench. H?
-
NI has a digilent toolkit that can be used in LabVIEW,I know this,But my job is to write tests in C.
I understand that since labView's toolkit for Digilent uses the VirtualBench API, there must be a way to call it in C
-
@attilaThank you so much,This solved my existing confusion.
And I have one more question,In simple terms,I want to use the VirtualBench driver to drive the ADP 5250 directly. Can I do some work on the VIRTUalBench C code base so that it can call ADP5250?
-
@attilasry,Because the ADP channel 0 and 1 corresponding to the two channel + 6 and + 25, so I can make it 1 v output, but the sample doesn't make 1 v channel output.
-
Hi.@ According to my understanding, this example did not output voltage at positions 1, 2, and 3, but only enable the supply channel, so I added voltage output later,When I used AD2, I ran my modified example, channel 0 and channel 1 could output voltage of 1 and -1,When I used ADP,channel 0 and channel 1 cannot output voltage of 1 and -1.
-
@attilaI have AD2 and ADP, and I use AD2 to run the program "Analogio_AnalogDISCOVERy2_power. CPP", which can output voltage, but there is no voltage output when I use ADP5250, is there any explanation for this phenomenon
-
In simple terms,I want to use the VirtualBench driver to drive the ADP 5250 directly. Does this require any work in the VirtualBench.h driver file.
-
Hi @JColvin,Thank you very much。Uh,I actually wanted to write my test program in C#, but digilent's driver API prevented me from finding the instrument function quickly, while VirtualBench's driver allowed me to find the instrument function quickly
-
@JColvin
In fact, VB drivers are called differently from Digilent instruments.
Although there is no official support, I would like to know how this call method is compatible.
-
@JColvinThank you for your answer, but I still have a few questions
-
On 4/19/2022 at 6:51 AM, JColvin said:
Hi @Kou,
My understanding is that there has not been any direct work on Digilent's end to get the ADP5250 working with the VirtualBench API or VIs; the ADP5250 is a VB-8012 (with the WiFi adapter disabled) so I imagine a lot of the functionality may work, but again I don't think any LabVIEW compatibility has been prioritized.
Thanks,
JColvinBut I don't want to use the API in the DAF.h file. I know about Virtualbench drivers and I'm familiar with them. So far I think the difference between them is that their initialization steps are different, so just know how to successfully initialize and call the program
-
Questions about AD3/AD2 and VirtualBench
in Test and Measurement
Posted
Can I control AD2 or AD3 with VirtualBench's LabVIEW toolkit?