Help, Ni-Daq channel names and labview program error 10001?
Can anyone please help me, I have inherited a role that I know nothing about. I have managed to get an NT pc to now recognise the SC-2345 board, set up and configure two channels and test them in Measurement and Automation program, this I managed after getting error 10401 and looking within these message boards which are very good.
I have then started a labview program, previously written by ex-employee, and now get error 10001, after trawling the FAQ and forums I think that I have a naming error in the virtual channels created, how do I find out what the channels should be named within the Labview program, do I need to load an editor etc and then open a config file?
Sorry if this seams like a simple error, but I am trying to learn the software from a book that is a little tattered.
Regards
Hi,
error 10001 can be caused by a few things including an incorrect scanning order.
If you'd like to post your code back onto here (or if it's large, ftp it to ftp.ni.com/incoming and let use know the name of the zip file you've packaged it into), then we can see what the DAQ section is supposed to be doing and hopefully provide some clues as to where to look for the information / why the error is occuring.
The first thing to do is go back to Measurement and Automation explorer and try setting up a global task that refers to the channels you're interested in.
This removes the programming side of things, since you select from drop down lists, to verify that you can communicate correctly with the hardware at the rates and across the channels that you want.
These links is going to be your best learning point for getting up an running with the program.
http://digital.ni.com/public.nsf/allkb/DD52ABD7C15F0B15862562910074F09E
http://zone.ni.com/devzone/cda/tut/p/id/3116
http://zone.ni.com/devzone/cda/tut/p/id/4656
In terms of LabVIEW, there's several I/O controls you can use which will list the hardware channels you have configured or the global tasks you have created in Measurement and Automation explorer. (see the last link above)
Another option is to look at our Alliance Partners if you need things configured and up and running in a hurry.
http://www.ni.com/alliance
If you just need a little pointer on getting kicked off, then you could see if you local sales engineer is available to go through things with you for an hour if they're in your area at a convenient time (for the UK / Ireland, please call in on 01635 572410 and ask to go through to sales), or we do offer start-up assistance (but that's something you need to purchase) to get a day's onsite assistance with getting your hardware up and running and starting you off with advice / examples on your application (note this is an effort based thing rather than a results based guarantee)
Finally you could consider coming on one of our courses on LabVIEW and / or Data Acquisition to learn more about the software / hardware and be better prepared to handle the implementation yourself.
Hope that helps
Sacha Emery
National Instruments (UK)
Message Edited by SachaE on 03-23-2007 11:49 AM
// it takes almost no time to rate an answer
Similar Messages
-
DAQ channel name control empty
I'm having the problem that virtual channel names don't appear in DAQ channel name controls or constants. The proper channel type is selected, but nothing appears. I'm also missing a couple of contextual menu items on the control, such as add channel and edit channel. Any ideas?
I'm using MAX 3.0, DAQ 6.9.1f28, and Labview 6.0.3. A different system with MAX 2.1.3.14 works fineMAX 3.0 ships with the NI-DAQ 7.0 driver. You should not be using MAX 3.0 with the older 6.9.1 driver. I would recommend using the MAX version which ships with the NI-DAQ 6.9.1 driver. If your working system is identical with respect to NI-DAQ and LabVIEW versions, then I would recommend using MAX 2.1 with the non-working system as well.
Regards,
Justin Britten -
Hello,
I'm using LABVIEW 6.1 on a computer that does not have a DAQ card
installed. I would like to create a listbox that allows selection of
multiple DAQ channels. My problem is that the AI Group Config.vi
requires a DAQ Channel IO data type which is neither a string nor an
Integer. I tried to use the DAQ channel name constant, however I
wasn't able to enter a value for the constant. This problem may be
caused by the DAQ card not being installed.
Therefore, my question is that if I had the DAQ card installed, would
the DAQ Channel Name Constant allow me to enter a value?
Thanks,
SteveI believe you can at least type a name into the control/constant if you
right click on it and select "Allow Undefined Names". Then just double
click in the control and start typing.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences. -
I recently upgraded from LabVIEW 6.i to LabVIEW 8.5. Back in 6.1 I could get all the channel names configured in MAX using Get DAQ Channel Names.vi. I was wondering how I can do this in 8.5. Ideally I would like the output to be an array of strings so I can then sort through them.
ThanksHello,
I think that you can do that on daqmx. Using property node. See the attached file.
Software developer
www.mcm-electronics.com
PS: Don't forget to rate a good anwser ; )
Currently using Labview 2011
PORTUGAL
Attachments:
ChannelName.PNG 19 KB -
How can I find the specific channel name and modify channel name in automatically in VBS?
How can I find the specific channel name and modify channel name in automatically in VBS? (DIAdem 9.1)
I would like to change channel name = "speed01" ... "speed10" to channel name = "velocity01"..."velocity10.
martinoHello Martino,
this script will help:
Option Explicit
Dim i
Dim n
For i=1 To 10
If i < 10 then
n = CNo("speed0" & i)
Else
n = CNo("speed" & i)
End If
If n > 0 Then
If i < 10 then
ChnName(n) = "velocitiy0" & i
Else
ChnName(n) = "velocitiy" & i
End If
End If
Next
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater? -
Measure 8 channels DAQmx and labView
hi there,
its me again. I now have only 2 days left to complete this program for my internship and I must say that I've learned a lot.
But here's the thing, I need to measure 8 channels from a DAQPad 6015. But I cant get it to work.
Here's what I have so far. I dont know if Im doing it the right way, but I think I am.
I hope someone knows what to do, so that I can go on with finishing this program.
Thanks in advance
Jaap
Attachments:
test.llb 2841 KBWoow!
Hey Jaap, if all that you want to do is acquire from 8 channels, you do not have to do all this exercise and coding!
Just see this VI, It will do the job, Modify it to work as you need
Your VI is not efficient since you are not doing a continous acquisition, you are configuring, staring and stopping acquisition in each iteration
Go through examples shipped with labview to get an idea on how to go about
Regards
Dev
Message Edited by devchander on 01-12-2006 04:45 AM
Attachments:
DAQ channel acq.vi 80 KB -
Reg : SMARTFORM name and DRIVER PROGRAM
Dear Gurus,
Can anybody help me out in providing standard SMARTFORM name and also driver Program for
'ANNUAL MAINTENANCE CONTRACT CONFIRMATION' in CS(Customer Service) module.
Cheers,
Loverboy KHi,
there is on a standard system no smartform for you. So you have to do your thing with the standard sapscript.
However there have been some BestPractices projects at SAP. There they have a lot of standard smartforms. Maybe you can download them from SAP somewhere the name will something
with MMCON or MMDLS in it.
you have to find out yourself because i do not have it here to send it to you.
Gr., Frank -
FieldPoint devices and LabVIEW program for educational project
I use LabVIEW 7.1 and NI FieldPoint devices (FP-1000) for educational
purposes. I want to control a automation unit which has got 6 digital
input(DI) and 5 digital output(DO). I used the sequence structure, but
actually I am not sure the solution whether true or not.
Working principle of my system:
If "Channel 1" DI is ON, DO Channel 10 must be "ON"(turn table motor
Start)
If Channel 2 DI is ON, DO Channel 10 must be "OFF"(turn table motor
Stop) and DO Channel 11 must be "ON" (drill motor Start) and after a
delay time DO Channel 12 will ON (drill motor down)
If Channel 3 DI is ON, DO Channel 12 will OFF, a bit of delay time DO
Channel 13 ON ( drill motor up)
If Channel 4 DI is ON, DO Channel 13 and Channel 11 will be OFF (drill
motor stop) and then DO Channel 10 must be activated.(turn table again
Start)
If Channel 2 is ON again DO Channel 10 will OFF and check cyclindir
control Channel 14 will ON, after a delay Channel 14 will OFF
If Channel 5 DI is ON, DO Channel 10 will ON again while DI Channel 2
is ON.
How can I project the system with LabVIEW 7.1?
Thanks, stnThis is a pneumatic technical experiment set. Your suggestions okey
but I have already studied these subjects.I have tested a solution for
the system using the sequence structues in the LabVIEW. But if you
sent to me an example vi, I will understand the solution way.Thanks.
Working principle of my system as a summary:
Step 1: When DI 1 is ON, DO 1 must be "ON"(turn table motor
Start) while DI 2 is ON. In this case DO 2 must be "ON" (drill motor
Start) and after a bit
time delay DO 3 will ON (drill motor down),
Step 2 : when DI 3 is ON,(drill bottom level), DO 3 will OFF, after
that DO 4 will ON ( drill motor upper position) in this case DI 4 is
ON, after that DO 1 again ON while DI 2 is ON (like step 1)
On 27 Ocak, 21:40, tst <[email protected]> wrote:
> Your description is not particularly clear.
> For example, what happens if DI 1 and 2 are True at the same time? Is DO 10 T or F?What's the difference between the DI 2 at the beginning and at the end? And so on...
> As a start, I suggest you try searching this site and google for LabVIEW tutorials. <a href="http://cnx.rice.edu/content/col10241/latest/" target="_blank">Here</a>, <a href="http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a..." target="_blank">here</a>, <a href="http://www.mech.uwa.edu.au/jpt/tutorial/index.html" target="_blank">here</a>, <a href="http://www.iit.edu/~labview/Dummies.html" target="_blank">here</a> and <a href="http://www.upscale.utoronto.ca/GeneralInterest/LabView.html" target="_blank">here</a> are a few you can start with and <a href="http://www.fafiles.com/" target="_blank">here</a> are some tutorial videos. You can also contact your local NI office and join one of their courses. In addition, I suggest you read <a href="http://zone.ni.com/devzone/conceptd.nsf/webmain/CB5E46406090C61C86256..." target="_blank">the LabVIEW style guide</a> and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
> To get more details about might be relevant for this case, try searching for "state machine" and look at the examples in the File>>New dialog. -
Parse fieldpoint IAK file -- get channel names and ranges?
Hello,
I am looking for a way to read the fieldpoint channel names in their real order (not sorted) _and_ their corresponding range settings from an IAK file. Hardware is a FP-1001 network module connected via RS485 and a handful of AI-110s and AO-210s.
Has anyone found a way to do so yet?
Tried the FP get configuration info VI without succes, it sorts the channel names alphabetically. Edited the VI (threw out the sort array funktion), but no success: Channels now are mixed in no sensible way (the documentation confirms this behavior).
For the ranges, I've looked at the optomux !E, but a) it needs a FP ressource connected (can't work offline this way), and b) I have no clue yet of how to match these ranges with the well-mixed channel names :-(
Maybe someone here can help?
Yours, sincerely,
Sebastian F. KleinauHi,
Please take a look at the following knowledgebase:FP Get Configuration Info.vi Returns Values in a Different Order
I think this is what you are looking for.
Regards,
Timo -
Please help me assign channel names
Hi Im trying to log select data when any of 24 signals rises above 5 V which I have done with Greater or Equal Express VI. I'm having a hard time getting this data to my file via Write to Measurement File. A waveform plot that I have connected to this signal has no problem extracting the channel names from the signal. However they aren't as easy to get into my data file. I have been searching quite a bit and I know I need to convert to array to get names then back to dynamic for the file making. I'm not having any luck with this approach. I have quite a few dummy channels involved and I thought about extracting channel names from mx, but obviously I'm only interested in the selected signals of specific channels that have specific voltages.
Thanks.
Attachments:
need help channel names.png 32 KBHi nwiman,
I looked a little into your code and I want to point a few things out to you. I think you now have the Write to Measurement File almost worked out correctly. Firstly, I want to let you know you are using a DAQmx task, and because we don't have you MAX configuration, we don't know what that is. I chose to simulate a USB-6351 to get some analog inputs, it is titled Dev1 in my MAX. Also, to avoid a buffer overflow error from DAQmx while it is waiting for the user to determine the file path, I used a File Dialog express VI to get the path before the While Loop starts. Lastly I unchecked "Ask user to chose file" in the properties of Write to Measurement File and chose "append to file. I also want to point out that your code has Tab constants, but the Write to Measurement file is set up for Comma delimited. To show you the functionality of the write to measurement file, I wired the signal after the DAQmx read to the write to Measurement File, and it works how I think you would expect it to. I recommend using charts for your output signals and when they look like you would expect them, wire them into Write to Measurement File.
To run the snippet I have attached, you must simulate a USB-6351 in MAX. Follow this link to add the simulated device to MAX, once it is in MAX you should not need to create a task or anything, just make sure it is named "Dev1".
Regards,
Chris
National Instruments
Applications Engineer
Attachments:
modified.png 555 KB -
please help me set my password and id name for my ipad its not fair i bought it from a person for a high price and apple wont help you out. but you can reset anyother computer by your self with no problem
I am afraid you cannot activate the iPad without the Apple ID and Password of previous owner.
-
How to find output type givenSapscript form name and print program name
Hi Experts,
Can anyone tell me how to find the output type of a sapscript form if the print program name and sapscript form name is
known.Hi,
There are two ways:
1. Use table TNAPR .. Here is table give PGNAM as your print program name and FONAM as form name.. Now the field KSCHL will be the output type assigned to your script.
2. You can also check the NACE t-code.. In that select a application(Corresponds to your area) -> click on Output types tab -> Here you get list of output type.. You need click on Processing Routine folder to get all other info.. -
Inquiry of APT software and LabView Programming
Hi,
I am new to LabView Programming. I am currently using LabView 8.6. As you can see in the attached files, I've written some codes to synchronize X and Y axes movement of two T-Cube DC Servo Controllers using LabView programming. I am now trying to plot some data of Move_Absolute_Position on XY Graph in LabView. After I've made some movement of motor positions, the graph only plot for the current position and erase the previous data. Is there a way to plot all data on the graph? If you could give some examples, I would appreciate it.
Best Regards,
Jack
Solved!
Go to Solution.
Attachments:
APT_Test_3.vi 27 KBJackBrown wrote:
...As you can see in the attached files,...
There are no attached files.
To plot an xy history, easiest would be to use the "build xy graph express VI" and configure it not to erase data between calls. You get that express VI if you place the xy graph found in the express palette on the front panel.
LabVIEW Champion . Do more with less code and in less time . -
I can't set up Time Machine---Help! What "User Name" and password do I use
I finally got the Time Capsule and installed Leopard, but now that I'm trying to set up Time Machine, it's asking for a user name and password. I've entered the admin user name and password to my computer with no luck, then tried the name of the Time Capsule and the password for that, no luck there either. What the heck is it looking for? Thank you for any help you can give me!!!!
smithrj wrote:
Thank you for correcting me, I think it's time for bed.
Ray
Hey, I got left and right confused late one night No problem.
I mentioned it only because I once used that software and only because I checked it before upgrading to Leopard did I realize it didn't work too well, even with Tiger.
LaCie makes great hardware, but in the software area they are a bit soft. -
Sun would like your help with the "System Name Already In Use" error
A couple of users have reported getting an erroneous "System Name Already in Use" error when re-registering a system after a fresh Solaris re-install. We'd like your help in tracking down this problem.
The scenario is this:
* Install Solaris 10 and register with updatemanager,
* Wipe out the installation and re-install Solaris.
* re-register with updatemanager.
The system erroneously reports that the system name is already in use. It is supposed to detect a duplicate registration of the same system.
We have not been able to reproduce this error in our lab.
If this has happened to you, would you let us know at [email protected]?
Here are the things that we would like to ask of you:
* If you run "updatemanager -debug" if will create a log file /tmp/basicreg<timestamp>.log.
* Details on the exact hardware you have (make/model/configuration).
* Details on the steps you took to get to the bad state. REALLY detailed!
Thanks!
Based on what we know now, we believe you can work around the issue by either:
* Changing the host name and re-registering.
* Creating a different user account and registering the host to that account.
Some previously-posted workarounds are known NOT to work:
* Wait 24 hours and try again.
* Do some "ccr" incantations and try again.Hi,
Can you drop me an email as i am a sun employee and i will be able to check if the swup frontline team have received any support cases on this issue and then we can work with you directly to resolve the issue.
Scott Wallace
Maybe you are looking for
-
My iphone 5 is not syncing with my laptop and windows 8. cant find an itunes app for my laptop. is there something i can get that will help with this?
-
Graphics-heavy pdfs will not printer to any type of printer.
They send back an error message as displayed below or they do not prints. This happens in both Mavericks and Yosemite, for both Preview and Adobe Reader, our organization's primary pdf Readers. It only seems to apply to the .pdf or similar formats, a
-
Is it possible to sync an iPod Touch with a mac and a pc?
Is it possible to sync an iPod Touch with a mac and a pc?
-
A system bug regarding to "base row number"
Dear All, I may have found a system bug, which is causing problems. Would anyone have a way around? or should I raise the issue to SAP through our reseller? Basically, the "base row numbers", in some cases, can incorrectly relate to the row numbers i
-
Best way to Process 6000 photos?
Just returned from 2 weeks in Africa where I now have 6000 RAW photos to process. While there I downloaded all my pics to a 320 G hard drive. I now want to move those pics from that portable HD onto my Mac Intel Duo iMac v. 10.4.11 & process using LR