Jump to content

Calling Assembly Language from LabVIEW in Windows


Recommended Posts

Good grief I hear you say, why would you want to do that!?

Assembly language has had a bit of a renaissance over the past decade. As a test engineer needing to get a job done quickly with the minimum of fuss I really like the control it gives. Wouldn't recommend it for anything large, though.

This first example shows a LabVIEW program monitoring and controlling an independent process embedded in an Assembly Language dll. The dll was written in a free IDE called RosAsm, at the time of writing see http://betov.free.fr/RosAsm.html . The source code for the dll is contained within. Simply drag and drop the dll onto the RosAsm icon on your desktop to open the source and tinker.

Like LabVIEW, RosAsm takes a little time to get used to. Once that's over, it's an ideal accessory to LabVIEW for creation of little bits of fast 'glue logic' especially dlls. Very small compile - run cycle.

Hopefully more to come soon.

Cheers, Bob Edwards

Link to comment

Here's another one to add a plug-in feature to a LabVIEW Windows application. The plug-ins are dlls written in any capable language - not just LabVIEW. Just another way to make an extensible application for users without the LabVIEW IDE.

It builds on the work of Wiebe Walstra, found at http://forums.ni.com/ni/board/message?boar...ding&page=2

Cheers, Bob Edwards

Link to comment

Here's a refinement of control and monitor of an independent loop in a dll by a LabVIEW program. The change of state of the counter in the dll is sent to the LabVIEW program by means of a User Event, which should be more efficient than polling.

Cheers, Bob Edwards

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.