02-20-2014 01:27 AM
I have legacy system which uses a age old GPIB card.
am in a process of creating a application to communicate with the system.
on research i find there is only .asm (assembly) file is available to communicate with the GPIB card.
can i still be able to use that assembly file in CVI to communicate with that instrument.
Thanks in Advance
IVI
02-24-2014 10:05 AM - edited 02-24-2014 10:06 AM
Hello there!
Unfortunately, CVI doesn't support inline assembly. This is a related forum post: http://forums.ni.com/t5/LabWindows-CVI/inline-asm-in-CVI-integration-with-Execryptor/td-p/486364
However, you could either use an external compiler to compile your code (Options » Build Options » Build Process Options » Compiler for Release Configurations) or an external assembler and then link your object files with the CVI code, in order to reuse your legacy code into the new CVI code.
12-10-2021 02:01 AM
Except that that assembly code most likely would do direct registry programming. Not a problem (well it sure could be a lot of trouble too buf it was at least possible) in DOS but an absolute no-go in Windows NT (any version since Windows 2000) based operating systems. Here only kernel drivers are allowed to access hardware directly.