Labview interfacin​g with labjack U3-HV
Hi, I am new to labview. I am doing a project on motor control. Here I have to find the following parameters of motor using Labview 7.1 version along with Labjack (U3-HV) : 1) Torque 2) Voltage 3) Current 4) Speed I don’t know how to write a code for these parameters in labview and I didn’t find any blocks like IC’s, chips, motors in control and function palette. Plz guide me for the same and post all your suggestions here. Thank you.
Solved!
Go to Solution.
Hi labview,
The IC’s, chips, motors etc: are not available in function or control palletes.
For getting started with labjack,please see here
http://www.labjack.com/forums/index.php?showtopic=84
http://www.labjack.com/lju12datarates.php
Hope this helps.
Thanks as kudos only
Similar Messages
-
Problem on WinXP / Labview 6.1 with VISA (serial port)
There is a problem on WinXP / Labview 6.1 with VISA which i use to poll the state lines of the serial port. The only functions that i use are "VISA Open", "Find Resource", line state properties and "VISA close".
On my own machine (WinME) it works fine as a standalone application (with runtime engine in the same direction), even if i rename the Labview directory so that Labview is not found.
From my VXIpnp directory i deleted all but these files:
directory "Win95",
subdirectory "Bin" containing "NiViAsrl.dll",
subdirectory "NIvisa" containing "visaconf.dll".
When shipping this to WinXP (and copying "VXIpnp" to the root directory), the serial port was not found, so i renamed the direction "Win95" to "
WinNT", but this did not work also.
I installed the VISA server, although it seems not to be required -- no result.
Final question:
What must i do for distributing the program as a standalone application for all windows platforms?Hey Joachim,
In order to create an installer that includes the VISA Run-time engine for serial IO you will have to purchase LabVIEW 7.x. See screen shot. This packages a small compact version of the run-time that can only be used for serial, but it takes up much less space. The installer that I created has my application, the LV Run-time, and the VISA run-time and it is about 26 MB.
That is much smaller than if I had to include the 32 MB LV 7.1 run-time and the 14 MB VISA run-time separately. It would have been even smaller if I would have uncheck some of the items that I wasn't using.
-Josh
Attachments:
advanced.JPG 31 KB -
Case study: "Large?" labview programs flooded with different VIT's
Case study: "Large?" labview programs flooded
with different VIT's
Type of application:
Computer with loads of individual hardware connected or other software (either
onsite (different buses) or offsite (Satelite/GSM/GPRS/radio etc.).
Hardware
description: little data "RPM" but communications to all devices are intact.
More "RPM" when many VITs are involved.
Size: 1000+
VITS in memory (goal). Total software has been tested and simulated with 400.
I'm posting
this post after reading this thread (and actually I cant sleep and am bored as
hell).
Note: I do
not use LVOOP (but sure post OOP examples, am starting to learn more and more
by the day.)
Things I
will discuss are:
Case 1: Memory usage using a plugin
architecture
CASE 2: memory usage using VITs (!)
CASE 3: updating datastructures:
CASE 4: shutdown of the whole system
CASE 5: stability & heath monitoring
CASE 6: Inifiles
CASE 7: When the hardware is getting crappy
Total
application overview:
We have a
main application. This main application is mainly empty as hell, and only holds
a plugin functionality (to register and administer plugins) and holds an
architecture that holds the following items:
Queue state
machine for main application error handling
Queue state
machine for status messages
Queue state
machine for updating virtual variables
Event state
machine for GUI
Some other
stuff
Other
global functionality is:
User
logins, user configurations and unique access levels
Different
nice tools like the good old BootP and other juicy stuff
Supervision
of variables (like the NI tag engine, but here we have our own datastructures)
Generation
of virtual variables (so that the user can configure easy mathematical
functions and combining existing tags)
Licensing
of plugins (hell we free-lance programmers need some money to don't we?)
Handles
all communication between plugins themselves, or directly to a plugin or vice
versus.
And now we don't
talk about that (or marketing) the main application .
Message Edited by Corny on 01-20-2010 08:52 AMCASE 3: updating datastructures:
As we do NOT use clusters here (that would
just be consuming) we only use an 1D array of data that needs to be updated in
different functional globals. If the the number of VITS exceeds so that the
updating of this datastructures becomes the bottleneck, this would cause
delays. And since in this example we use 250 serial interfaces (lol) we do not
want to disrupt that by any delays. When this happends, does anyone know a good
solution to transfer data?
A thought:
perhaps sending it down to the plugin and let the plugin handle it, this should
save some time, but then again if more VITs are added again this would become a
bottleneck and the queue would fill up after a while unable to process it fast
enough. Any opinions?
CASE 4: shutdown of the whole system
Lets say we
want to close it all down, but the VITs need perhaps to do some shutdown
procedure towards the hardware, that can be heavy.
If we ask
them to shutdown all together we can use an natofier or userevent to do this
job. Well, what happends next is that the CPU will jump to the roof, and well
that can only cause dataloss and trouble. The solution here was to let the
plugin shut them all down one by one, when one has been shutdown, begin at the
next. Pro; CPU will not jump to the moon. Con's: shutdown is going to take a
while. Be ready with a cup of coffee.
Also we
want the main application not to exit before we exit. The solution above solved
this as the plugin knows when all have been shut down, and can then shut itself
down. When all plugins are shutdown - the application ends.
Another
solution is to use rendovous (arg cant spell it) and only shut the system down
when all rendezvous have met.
CASE 5: stability & heath monitoring
This IS
using a lot of memory. How to get it down. And has anyone experienced any
difficulties with labview using A LOT of memory? I want to know if something
gets corrupt. The VITs send out error information in case, but what if
something weird happens, how can I surveillance all the VIT's in memory to know
one is malfunctioning in an effective way/code (as backup
solution so the application knows
something is wrong?
CASE 6: Inifiles
Well, we
all like them. Even if XML is perhaps more fahionally. Now Ive runned some
tests on large inifiles. And the labview Inifile functions use ages to parsing
all this information. Perhaps an own file structure in binary format or
something would be better? (and rather create an configuration program)?
CASE 7: When the hardware is getting crappy:
Now what if
the system is hitting the limit and gradually exceeds the hardware req. of the
software. What to do then (thinking mostly of memory usage)? Needing to install
it on more servers or something and splitting configurations? Is that the best
way to solve this? Any opinions?
Wow. Time for a coffee cup. Impressive if someone
actually read all of this. My goal is to reach the 1000 VIT mark.. someday.. so
any opinions, and just ask if something unclear or other stuff, Im open for all
stuff, since I see the software will hit a memory barrier someday if I want to
reach that 1000 mark hehe -
LabVIEW 2009 launches with errors
Hi Folks,
LabVIEW 2009 launches with errors now everytime I open it. A window appears showing an error list with nothing in it, with a close and show dialog box (hangs with hour glass). Neither option is possible since the window self closes in about two minutes. It's a little frustrating since it adds to my loading time everytime I launch it.
Any suggestions other than unistall/install process?
Windows XP Professional 2002, SP3
Labview 2009, Mem Alloc 39125K, TCP Server inactive, Version 9.0 (32bit)
Regards,
-SSHi!
The exact sme thing happend to me. But for me it was on the LV2010 version. Just suddenly it started to launch everytime I opened LV. After a re-installation of LV it was gone.
Regards,
Even
Certified LabVIEW Associate Developer
Automated Test Developer
Topro AS
Norway -
Can I use Labview real time with PCI 6013?
How much does Labview real time cost?
Do i need to have some additional hardware to use labview real time with PCI 6013?You can not use the PCI-6013 board with LabVIEW Real-Time.
We offer three platforms for LabVIEW Real-time. PXI embedded controllers, 7030 data-acquisition plug-in boards (7030/xxxx) and FieldPoint. For more information on these options go to www.ni.com/products and then choose Real-Time from the menu on the left. There are PCI versions of the 7030 boards. Each 7030 board has a data-acquistion board attached to it (6030E, 6040E or 6533). When you embed a LabVIEW Real-Time program on the 7030 you will be able to access the daughter board. You can not access other boards from the embedded program. If you want to use several daq cards in your real-time system I would recommend a PXI chassi and PXI daq boards. -
How can I configure labview for communication with Modbus I/O?
i read a article about configureing Labview for communication with modbus I/O in NI developer zone, but it was written for Labview 6, how can I configure it with labview 7. it seems there are some difference. Thanks!
In both LabVIEW 6 and 7, you connect to modbus using Lookout Protocol Drivers (LPD) and then communicate to LPD using the tag engine of LabVIEW DSC or through DataSocket.
-
Setting Up Labview 7.1 with Tektronix TDS3034B
Hi there, I'm a student intern trying to do some data acquisition with Labview 7.1. The scope I'm using is a Tektronix TDS 3034B, and it is connected through ethernet. I'm having some trouble getting started. All the software and drivers have been installed, but I can't seem to get Labview to communicate with the scope.
I'm not very computer savvy, so please give me detailed instructions, or point me in the right direction. Any help appreciated.
Thanks,
JonHi,
The attached knowledgebase article explains how to connect to an Ethernet controlled oscilloscope using LabVIEW.
http://digital.ni.com/public.nsf/allkb/22F1F2ABC640D5BA86256CD1003BA06D?OpenDocument
Regards,
-
Invalid Device Error when using Labview to comunicate with Jorway 73A
I'm having a problem when trying to get Labview to communicate with the Jorway 73a CAMAC crate controller. Keep in mind while reading this that I'm still fairly new to both the CAMAC system and Labview. I've downloaded the drivers for the Jorway 73a off your site and run into a "Invalid device" error whenever I try to read or write from the CAMAC crate using the read or write VI's. Oddly, the initialize/clear/inhibit VI runs without error. When reading cmjwdll.c I can tell that this error occurs whenever "the device selected is not a JW 73A". Not sure why I'd be getting such an error, and only with the read/write VI's, not on the initialize/clear/inhibt one.
Thank you for your time.Hi Caleb,
You may want to contact [email protected] for this question. Looking at the driver (http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/398258c61da17663862568ab005fbcbc?OpenDocument) It states that these drivers use 32-bit dll's that only work on 95/NT and are provided by Jorway.
Hope this helps out!
Best Regards,
Aaron K.
Application Engineer
National Instruments -
What is Procedure for OPC Sever to communicate LabVIEW 7.1 with PLC (Any Make)
we want to use OPC Sever to communicate LabVIEW 7.1 with PLC (Any Make).Can someone tell what is the procedure for the same and how to configure the OPC Server?
Hey Sugam,
Did you try to look into de Developer Zone in NI? Here are some Articles that could help you to get started:
1. Tools for Troubleshooting OPC Interface Problems:
http://zone.ni.com/devzone/conceptd.nsf/webmain/401CB3A4E216356286256BC7004B5831
2. Accessing Remote OPC Server Using DataSocket: http://zone.ni.com/devzone/conceptd.nsf/webmain/D5DC903EC6F9320A862569EE007FEC7D
3. Connecting LabVIEW to an OPC Server through a DataSocket Connection: http://zone.ni.com/devzone/conceptd.nsf/webmain/DF8C0A4BA2E2B22A86256A3700592BEA
In short, you have to make your OPC server to run in your machine (you have to look into the documentation from the other manufacturer), and be familiar with NI Server Explorer (article 1 above helps with that) and you have to access the tag with datasocket or Tags (LabVIEW DSC). If you had LabVIEW 8, we introduced the concept of variables and you could configure the variable to access this tag.
Hope this gives you an idea what to do.
Barp - Control and Simulation Group - LabVIEW R&D - National Instruments -
Is there a way to interface Labview Web GUI with Fusion Charts?
Is there a way to interface Labview Web GUI with Fusion Charts for dynamic web presentation?
http://www.fusioncharts.com/I have a ballistics program which our clients can use (see attached). Basically there is a series of Cascading Combo boxes that the user must select for Bullet Manufacturer, Caliber, and Bullet ID. The program then goes out to the relevant data file (.CSV) and provides ballistic inputs for the selected projectile. The user is also required to enter in additional data, such as Sight Height, LOS Range, Temp, etc.. Once all data is input, the user either hits the Calculate Button or the Tab (I'm using Event Structures and I now realize this is an issue for Web UI Builder), and the data gets passed to a MathScript which then crunches numbers and spits output to fill a table and a series of Graphs based upon the tablulated data (if so desired).
I was hoping to use Labivew for the first two parts ( Data Collection and Number Crunching) and use something like Fusion Charts for the presentation. I tried learning Ruby on Rails. I was successful with the Ruby part (basically the Mathscript portion) but really got hung up on the Rails section and the need for something like JSON to interface with it. Could not find a useful source of information which really showed you how to combine the two effectively.
Attachments:
Ballistics1.JPG 144 KB
Ballistics2.JPG 265 KB -
Can I use to Labview 6.1 with cFP-1804?
I have Labview 6.1, Can I use to it wiht with cFP-1804?
Hello,
Yes, you can use LabVIEW 6.1 with cFP 1804. According to: What Version of the FieldPoint Driver Added Support for the cFP-180x? Support for the cFP-180x was added in FieldPoint 4.1.2. You must have version 4.1.2 or newer in order to see the network module in MAX and use it in LabVIEW. In your case, it cannot be a newer version because the newer versions don't have support for LabVIEW 6.1. Check which version of the FieldPoint software is included in the CD that came with your cFP 1804. In case it is 4.1.2 then you are all set; in case it is 5.0 or a newer one you will have to download version you need. You can find drivers at ni.com --> Product Support --> Drivers and Updates. For Product Line select Distributed I/O FieldPoint. For Software select NI-FieldPoint. For version, you will see v4.1 and then it skips to v5.0. Try version 4.1.
If it doesn't work. You will have to contact an Application Engineer in order to get a service number and then we will provide version 4.1.2. Dial the free telephone number according to your country or region. You can find the number at ni.com. The number for Mexico is 01 800 010 0793.
The following link is a Quick Start Guide for Compact FieldPoint cFP 180x: http://www.ni.com/pdf/manuals/374176b.pdf
Have a nice day!,
Pablo Bernal
AE Mexico
Message Edited by Pablo Bernal on 07-04-2007 02:13 PM -
I would like to know if labview can works with hp82335b interface
I would like to know if labview can works with hp82335b interface for instruments data aquisitions
Hi,
on following link: http://ftp.agilent.com/pub/mpusup/pc/old/hp_over.html
they say:
"The 82335 will not work under National Instruments Labview in any way, shape, or form. In general, it will not work on any product that doesn't specify that it does work.
There are no plans for any improvements to this product and no engineering resources on it."
In case this is true, you will go into trouble with
your card using LabVIEW.
Regards
wha -
How can a LabView process communicate with a Visual c++ process
How can a single Labview process communicate with another Visual c++ Process?
Both Application are running separately. The LabView Application must have the Possibility to send command to the C++ Application and receive Data from this process.
Thanks.Thank y for your answer.
The c++ application has already been written but don´t have an external interface.
The LabView application can have an activeX interface other dlls.
Do you have some LabView example code using activeX interface other another Method to communicate with a c++ application?
I have no practical experience with the interprocess communication.
Any example in LabView will help me.
Thanks -
LabVIEW network library with support for SSL, Ping and IPv6
I have posted on LAVA
an OpenG package that will install a LabVIEW network library with
support for SSL, Ping and IPv6.
Please go there if you are
interested to look it up.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement SolutionsBob Y. wrote:
OK, but what is it and why should I use it? What need does it fulfill? I have been unable to find much documentation for this at the wiki page and maybe a couple of paragraphs here would help.
Thanks,
Bob Young
Hi Bob,
Yes, this info got burried. Basically, it's a tool for building LabVIEW-based software products. It is highly flexible/extensible and tries to fill the holes left by LabVIEW's built-in Application Builder. Here are some good links to more info:
OpenG Builder Homepage
OpenG Builder 1.0 Documentation
Thanks,
-Jim -
Interfacing labview 8.5 with spectrum analyzer
can anyone tell me how to interface labview 8.5 with spectrum analyzer.............i am beginner ...i don't know much about labview
Solved!
Go to Solution.Why don't you tell us what you do know so we can better help you out? Do you know how to hook up the spectrum analyzer? Make/model of the spectrum analyzer? Do you know how to use it manually? Do you know what a spectrum analyzer is for?
I know some of these questions might sound almost insulting, but we have to establish a baseline so we know how much help you need, and how much detail to include.
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Maybe you are looking for
-
Reg:Creation of chart during query runtime
Dear all, I want to display a Pie-Chart during my query execution dynamically. I am working only in query designer not in WAD. For example : I have created a query in query designer based on Zonewise Sales Value. And i have designed the chart also b
-
Adobe CS4 crashes in OS X Mavericks
Photoshop CS4 crashes every time I attempt to manipulate layers. Additionally after a reinstall it will no longer accept my serial number [I have previously reinstalled without problems]. Is this a compatibility issue? are there workarounds for this?
-
I have outlook 2002 on my laptop and computer. When I bought the iphone I activated it and synced outlook on my laptop since I was out of town and all was well but I actually sync on my home pc. So, I installed itunes 7.3 on my pc and when it opened
-
How to configure Oracle Management Server
Hi all, first of all what is the difference between EM and OMS? I am successful in launching EM but when i tried to take backup its saying that i need to do that using OMS. i want a step to step process for configuring OMS and also taking backup usin
-
Replacing existing template - need to add editable regions
I've created a new design for my website and created a new template that uses the same editable regions so it will correctly update all of the existing pages based on the old template. How can I add new editable regions to the template? I was told