From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Run Assembly code in LabView.

Hello,

 

We have a motherboard from Advantech model PCE-7132. This board has an integrated watchdog controller (WD) and is controlled by the NCT 6776 chipset.


In the operating manual we have assembly language examples for WD control.

 

We want to control the WD with the help of an application made in LabVIEW.

 

How can we call the script written in assembly language in LabVIEW?

0 Kudos
Message 1 of 2
(549 Views)

You can’t. And that assembly code likely won’t work for any normal Windows app either. Windows uses a protected mode memory model that prevents Ring 3 processes (anything that does not run inside kernel mode) from directly accessing IO and physical memory addresses.

 

You need to get a DLL from the hardware manufacturer and documentation what functions you can call in there. Then you can use the Call Library Node to call into that DLL.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 2
(499 Views)