34970A Voltage data logger
I am using an Agilent 34970A with a 20 channel multiplexer card to try and read 10 DC voltage readings and log the results.
I have looked at some of the examples given with the 34970A Driver but so far not got any of them to read and display
any voltages.All that seems to happen in the 34970A goes into remote mode but no voltage reading is displayed on the front panel of the PC.
The Vi does not seem to configure the 34970A for any DC Voltage readings as channel 101 etc are still shown as OFF on the 34970A 's display panel.
Can anyone give me a VI that would work with this set up.Even if it just reads one DC Voltage input from channel 101 to get me started.
It can be in version 7.1 or 8.0 as have several machines running differant versions.
Regards,
Labtech5555
I HAVE THE SIMILAR PROBLEM. I AM USING AGILENT 34970A DATA ACQUISITION SWITCH UNIT WITH SCANNING CARD AGILENT 34901A. I WANT TO MEASURE VOLTAGE MEASUREMENTS FROM THREE-CHANNEL PHOTODIODE BY USING CHANNELS 102, 103 AND 104 SIMULTANEOUSLY. I USED THREE TYPES OF THE SAME LABVIEW CODE GIVEN IN FIGURE 3 (http://zone.ni.com/devzone/cda/tut/p/id/4644) FOR READING THE VOLTAGE FROM EACH CHANNEL. HOVEWER THE OBTAINED VOLTAGE RESULTS ARE INCORRECT BY COMPARING WITH MONITORING RESULTS. FOR EXAMPLE, WHEN THE VOLTAGE AT THE CHANNEL 102 IS 2.12 V, THE VOLTAGE READOUT OBTAINED VIA THE SOFTWARE CHANGE RANDOMLY BETWEEN 0.6 V AND 11 V. THE SAME SITUATIONS ARE OBSERVED FOR THE OTHER CHANNELS, 103 AND 104.
CHOULD YOU PLEASE HELP ME TO SOLVE THIS PROBLEM?
Similar Messages
-
I am using a GPIB card to send a pulse to data logger to control a firing system
I need to be able to fire my linear accelerator from the computer, by sending a negative pulse and I need to be able to control the pulse duration, and also its voltage, I am using an HP34970A data logger with a HP34907A module.
The trigger 488.2 command might be of help. Trigger sends the Group Execute Trigger (GET) GPIB message to the device described by address. If address is the constant NOADDR, the GET message is sent to all devices that are currently listen-active on the GPIB.
-
How to Plot number and string in one row (data logger counter) ?
hi all i made data log quantity using Digital Counter via modbus to monitoring quantity and reject that has and Name Operator, Machine and Part Number.
i have problem about plot the number & string in one row, as shown on the picture below :
how to move that string on one row ? i attach my vi.
Thanks~
Attachments:
MODBUS LIB Counter.vi 39 KBDuplicate and answered - http://forums.ni.com/t5/LabVIEW/How-to-Plot-number-and-string-in-one-row-data-logger-counter-via/m-p...
-
I purchased a Holux M-1200E Bluetooth GPS Data Logger. The device paired with my laptop just fine so I know it is working right. The device will not even show up on my iphone or ipad to pair via bluetooth. Is there a way to pair without jailbreaking??? I haven't had any trouble to date pairing any devic with my iphone or ipad, this is ridiculous!!!! Is there a way to update my bluetooth settings on my iphone 4s to be able to have this device be recognized??? I love my apple devices, but this is very frustrating. I bought this Data Logger for a specific purpuse to help out with my Search and Rescue volunteer activities, and I really need help with this!!! I am hoping apple will help me!!!
Thanks,
Melissamelissafromlenexa wrote:
That is not the right device, it is the
Holux
M-1200E Bluetooth GPS Logger
I looked at the same sight for that and it does not say that. This is the first time I have posted a question, you don't have to be mean about it. I am trying to get this to work for a good cause.
It may be the best source of assistance is the manufacturer of the device. I suspect you will need a specific app for the iPhone to get it to work, but the site is rather ambiguous about that. -
How do I use the High Speed Data Logger with multiple I/O devices?
I am using the High Speed Data Logger vi to read from a 16 channel A/D card (NI PCI-MIO-16E). The project may require more than 16 channels. How can I use High Speed Data Logger to read from two A/D cards? Will it be able to write the data to one file?
The High Speed Data Logger vi will not acquire and right to multiple DAQ boards at the same time without modification. LabVIEW is more than capable of doing this what you are trying to do, but you will have to modify the code.
Regards,
Anuj D. -
How can I automatically control the channel selection on the data logger
I am an in-experienced use with a simple system which measures and displays temperature from 16 thermocouples. Not all 16 thermocouples are always connected at once and those that aren't are blanked off from view. I would also like to use the Advanced Data Logger VI to log the measurements but would like to have the logger only record or display the thermocouples that are connected. Un-connected channels give a signal of 1264 degrees so I can use a comparator to give a boolean output to switch them off. Can anyone please tell me how to do this.
Also, I need to expand the VI to read all 16 channels instead of the current 8. Any help would be appreciatedMike,
Unfortunately I couldn't get the reference of the example you mention, probably you may want to add it as an attachment so the person who decides to answer this question knows exactly which example you are describing. So for the part of making visible/invisible some of the channels I attached an example that I built for demonstrating this feature, simply open the VI and run it, if you want one of the channels or plots from the graph to be invisible just click in the push button that corresponds to it. Switch to the block diagram and review the use of property nodes, using the property of visible.
If you want to generate a support request please visit www.ni.com/ask to see the options of reaching us.
Good luck!
Nestor Sanchez
Applications Engine
er
National Instruments
Nestor
National Instruments
Attachments:
Visible_Plots.vi 46 KB -
How to send TTL output AND acquire AI voltage data using USB-6211
Hello,
I am relatively new to Labview, so please bear with me. I have a research application involving 2 pressure transducers and a high-speed camera. I wish to acquire analog voltage data from the 2 pressure transducers. However, at the start of the acquisition, I will need to send a single TTL output to trigger the camera. This TTL pulse must be sent out at exactly the same time that the AI acquisition begins, in order to ensure that my 2 pressure measurements and camera images are 'synchronized' in time.
Is this possible on the USB-6211 running with LabView 8.20? I currently have a fairly simple LabVIEW vi that uses a software trigger to start an AI acquisition - I have attached it with hopes that it may help anyone willing to assist me. I would prefer to be able to simply add something to it so that it will output a TTL pulse at the start of the acquisition.
Thank you in advance.
Regards, Larry
Message Edited by Larry_6211 on 12-19-2008 11:24 AM
Attachments:
USB6211_v1.vi 212 KBHi All,
I'd like to clear a few things up. First, you'll find that if you try to set the delay from ai start trigger and delay from ai sample clock to 0, you'll get an error. Due to hardware synchronization and delays, the min you can set is two. Note that when I say two, I am referring to two tick of the AI Sample clock timebase, which for most acquisitions is the 20MHz timebase. I modified a shipping example so you can play around with those delays if you want to - I find that exporting the signals and looking at them with a scope helps me visualize what is going on. The Manual has some good timing diagrams as well but it looks like you've already hit that. The defaults would give you a delay of 250ns from the start trigger - is this too high for your situation? What is an acceptable delay? I tend to think that "exactly the same time" is a measure of how precise rather than an absolute (think delays in cable length making a difference.)
With all that in mind, I see a few options:
Start your camera off of the AI start trigger (an internal signal) and just know it is 250 ns before your first convert.
Export the convert clock to use as a trigger. This assumes your camera can ignore the next set of convert clocks.
More complicated option: Internally you have an ai start trigger, sample clock and convert clock. From your start trigger to the first convert is 250ns but if you export your convert clock you're going to get future convert clocks as well. One option would be to generate a single triggered pulse using a counter (start with the Gen Dig Pulse-Dig Start.vi example) with the AI start trigger as the trigger for the counter, an initial delay of 250 ns, and a high time of whatever you want it to be. This should give you a singe pulse at very close to same time (on the order of path delays) as your first convert clock.
Hope this helps,
Andrew S
MIO DAQ Product Support Engineer
Getting Started with NI-DAQmx
Measurement Fundamentals
Attachments:
Acq&Graph Voltage-Int Clk.vi 37 KB -
How to install "Compact FieldPoint Embedded Data Logger Example Program" on cfp2200
i finally managed to get max to see the devices of my cfp2200.
(i had to disable every unused networkadapter due to overlapping subnets)
now i want to deploy the example programm "Compact FieldPoint Embedded Data Logger Example Program"
http://zone.ni.com/devzone/cda/epd/p/id/3221
i therefor have tried to install the runtime 8.5 on the target. however this is not possble, because i have labview 2010 installed and it gives the message:
"the host has a newer version available"
ok. runtime 2010 should work to - not?
i open a new project - import my *.iak-file and drag-n-drop the content of "cfp_data_logger_source.zip" onto the target.
now if i open the file cFPEmbeddedDataLogger.vi the run-button is cracked and by pressing it an errorlist opens.
the errors say stuff like:
target does not support this function/subvi
and
vi has been modified with a different applicationinstance
please help me to make this work.
i know that it is possible to get the programm to run on the cfp2200 even dough it is primaly designed for the cFP-2000, cFP-2010, cFP-2020, cFP-2100, cFP-2110,
cFP-2120.
big THANX already for you help !!!!!Hi, thanks for your help=) I've manage to drag the file into my targeted controller. I am now doing the setting of the data logger program, but there's one thing I'm unsure of. May I know what does it mean by the cFP controller clock? http://zone.ni.com/devzone/cda/tut/p/id/3219 . Thanks. =)
Log On Startup
Start logging when the controller powers up.
Start Log Time
The time to start logging.
Stop Log Time
The time to stop logging.
Note: Make sure the clock is set correctly on the controller. The settings described above refer to the cFP controller clock.
Log Rate
The number of milliseconds to wait between each acquisition.
FP Drive For Data Files
The drive to store the log files in. The C: drive is the default for all cFP controllers. If you want to save to the removable CompactFlash drive on the cFP controller, select the D: drive.
Digital "Pause" Line
The Digital Input item to use as a "pause" button for data logging. Logging pauses when the signal is high. When the signal goes low again, a new file is created and logging continues if appropriate.
Note: Use only Digital Input items for the Digital "Pause" Line.
Tip: You can use DIP Switch 3 to block the current data from being logged. This switch works the same way as the Digital "Pause" line.
Logging Session Tag
Is stamped on the spreadsheet that the data logger creates. -
Data logger and online processing application
Dear All
My application should include both data logging and online processing threads which are synchronized. I already implemented that by means of something we call "Ring buffer" which is an array containing the data and when the data stream reach its end it start over again from first index. It works almost well but sometimes it seems that my "timed loop" which is my processing thread is a little bit ahead of my data logger thread and it makes some distortion on data stream in processing thread but of course not in data logger.
Since this type of application is very classic, we should have a kind of general prototype (example) for its implementation which provides fully synchronization between processing and logger threads so I was wondering if somebody knows where I should look into?
Best regards
AfshinHello Afshin,
Have a look at Software Circular Buffer in LabVIEW and Software Circular Buffer Reference Library for Multi-Channel Data Acquisition.
The latter comes with an example.
Regards,
Eirikur Runarsson
Platinum Applications Engineer
NI Denmark -
Hi all,
it seems that the embedded data logger does not record gaps when the log trigger is triggered multiple times when recording on the same file.
Is mine a correct assumption? I tried viewing the excel export and the TDMS viewer output and there is no trace of the "missing" data.
If I try recording 10 minutes and strop the log for 2 minutes I get a solid file which shows 8 minutes of recording with no gaps. Does the TDMS format support gaps such that a custom TDMS exctraction tool can show the gaps (implying a limit on the TDMS viewer that ship with VeriStand 2011)?The embedded data logger does not log gaps as you noticed. There are two possible approaches that can help you organize your data:
1. Timestamp your file names. Whenever you want to enable logging again, set th Log File Command channel to 1 to open a new file instance. Then set the Log Status channel to 1 to start logging in the new file. This way every file has only contiguous data.
2. Log a Timestamp channel such as System Time in every channel group. Then your data becomes xy data, and you should be able to plot it as such in Excel.
Jarrod S.
National Instruments -
I am looking for a simple data logger for temperature
I am having a hard time finding a basic data logger for recording temperature over a period of several minutes. I am using a SCXI 1001 Chassis, with SCXI 1303 terminal blocks hooked up to a computer running Windows XP and Labview 8.0 and VI Logger Lite.
Hi Joel,
Thanks for posting. You could log your data
using either LabVIEW or VI Logger. If using VI Logger, the following
screenshot from the help file explains how to log data:
If you are using LabVIEW, you can use the Write to Spreadsheet File function (or a number of other functions depending on your preference).
If you are using the DAQmx driver, a third option would be to download SignalExpress.
The LE edition is free, and provides the basic functionality that you
need to log your data to a file. The SignalExpress download comes with
a 30-day trial of the full version--it should be fairly intuitive to
get started, but don't hesitate to post on the SignalExpress forums if you have any questions. Have a great weekend!
-John
Message Edited by John P on 01-09-2009 06:03 PM
John Passiak
Attachments:
VI_Logger.PNG 160 KB -
Data log directly from Norma 4000 power analyser rather than via Keithley 2700 data logger
Hello fellow LabVIEW users
My Norma 4000 power analyser is connected to my Keithley 2700 data logger from which it logs data via GPIB using the attached VI.
Prior to making this VI I was not aware that the Norma 4000 could also log data values directly using labview which I found in the following LabVIEW post.
http://forums.ni.com/ni/attachments/ni/170/536731/1/LV9.zip
The Keithley logs the values into a *.txt file that can be opened in excel for analysis of the data. There are 7 values that are pulled from the power analyser and 1 from a radiometer and 1 from a temperature sensor. I essentially want the 7 values from the data analyser be directly input into the save file i/o rather than going via the Keithley which it is doing now. Some the signal is lost due to noise etc when going from ADC then DAC. Which is why certain values pulled from the Keithley have been multiplied before being put into file i/o.
Since these are popular instruments of choice I was wondering if anyone can direct me to any links to LabVIEW VIs that have already been made that DIRECTLY logs data values from the Norma 4000 into a *.txt file as in the attached VI. Or point me in the right direction perhaps. The LNOPA01 Getting Started.vi only shows current values. I want the data values to be logged into the *.txt files at certain time intervals with the corresponding signals from the radiometer and temperature sensor.
The Keithley drivers can be found in the following link
http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E93BC659CE034080020E748...
Thanks for all the help beforehand.
Attachments:
Data Logger_Final Version.vi 57 KBHi,
I was not able to find an example that will directly log data from the Norma 4000. I looked at the LNOPA01 Getting Started.vi and it seems like, with a few modifications, you could use this to log data. You would have to open a file, write the collected data to the file, and then close the file. You are already doing something similar to this in the VI you attached.
If you only want to measure data at certain times, you could use a case structure in the while loop and only write to file when a certain condition is met. If this isn't an option for you, could you please elaborate on what difficulties you are seeing?
Thanks,
Paul B.
Motion Control R&D -
How to display voltage data?
I have the JKR AI continuous scan.Vi function in my main Vi. From the JKR AI continuous scan.Vi, I get the voltage data. I need to see on the block diagram of the main Vi the voltage data which is in column 3 of my data acquisition or channel 0 of the DAQ. Do you know how I can do that? Do I need to zero the voltage in order to see the correct value? Thanks
Attachments:
JKR AI Continuous Scan.vi 100 KBYou can use Index Array function to display just one cell or a whole column. Wire the DAQ outptut 2D array to the index array function as such:
Wire an input to the column selector to get a 1D array of all column values, or wire inputs to both row and column selectors to get just one element.
Message Edited by tbob on 09-12-2005 03:24 PM
- tbob
Inventor of the WORM Global
Attachments:
IndexArray.PNG 3 KB -
How to read data from OM-62 temperature/humidity data logger in LabVIEW?
Hello,
I have an Omega OM-62 temperature/humidity data logger that I want to communicate (initialize recording, read/write data, end recording) through LabVIEW 8.6. The OM-62 is connected to the PC via a USB-miniUSB type B connector, and I have the supplied "Omega Interface Logger Program" on my Windows operating system. I've called Omega's DAQ help-line but was told that low-level data loggers like this do not have supplied LabVIEW capabilities which I completely understand.
My question is why do I have to use their program to communicate to this device? If I knew the syntax their program used to communicate to the device, why can't I use that through VISA? Do I need to build my own LabVIEW driver from their supplied driver?
Is Python a more applicable solution for this scenario?
How could I view the code "Omega Interface Logger Progam" uses on my Windows operating system to communicate to the OM-62 sensor?
I just would like to know how this could or couldn't work as I feel I am missing some concept in my novice LabVIEW/programming understanding. It would be easier to run both my LabVIEW program and their program at the same time, but I just want to understand this at a deeper level.
Curosity Killed the Non-computer engineer,
Zach
P.S. I have attached some driver set-up information, but I have no idea if this is helpful.
Attachments:
setup.ini 1 KB
OmegaLog.pdf 3800 KBUnless the manufacturer provides some sort of programming interface or API for communicating with the device you're going to have a hard time interfacing to it with your own software be it LabVIEW or Python or anything else. That could be in the form of a driver dll, serial protocol, modbus (etc. etc. etc.).
If that isn't provided/available and you really need to communicate with the device you would need to look at using something like a USB/driver sniffer (software? hardware?) to try and intercept the communications between their software and the device. You can then use this information to try and figure out what commands it sends and the response received and how to convert that into the data.
Once you've got that far...I'm not sure what options LabVIEW has for low-level USB device control but at a guess I'd say you'd need either a low-level USB driver or you'd need to write your own driver in another language and then call that from LabVIEW.
Certified LabVIEW Architect, Certified TestStand Developer
NI Days (and A&DF): 2010, 2011, 2013, 2014
NI Week: 2012, 2014
Knowledgeable in all things Giant Tetris and WebSockets -
VeriStand 2013 Embedded Data Logger with cRIO 9024
I am using VeriStand 2013 with the Embedded Data Logger on a cRIO 9024. I have noticed that when I first deploy after a complete power cycle, the embedded logger works great - responding immediately to a change in the Log Trigger value. However, If I undeploy and then redeploy the project, the embedded data logger appear to casue issues in the communication between the target and the host. The first symptom of this is that the indicators on the workspace appear to begin to lag significantly. The also affect the response of the boolean control that I have for the log trigger which now will not actually turn off when pushed but will rather only respond many seconds or minutes later. When this happens, the log files are also much longer than the intended period.
This problem only gets worse with further undeploy and reploys. However, when I power cycle the cRIO, the net time i open the workspace everything is working great again with no delays.
Any ideas on what could be causing this issue?Hello Aaron_Smith,
Are you writing to a single file each time? If so then the issue could arise from the file size and the file needing to be loaded into memory each time your redeploy. Try to run the system so that it writes to different files. Also, what is the status of the memory and CPU usage of the device while the application is deployed? Please verify that you are not maxing out the processor or memory as this causes network issues that could result in behavior of this type. Also, would it be possible for you to post a simple example that exhibits the same issue? Please include all files that are necessary to run the system definition.
Wear
National Instruments
Product Support Engineer
Maybe you are looking for
-
ASA 5510 as Verizon gateway for multiple public IP's
Hello, This might be a trivial question but I never before used ASA5510 this way. I know ASA5510 is not a typical router. Here is the scenario: 1) Point to point connection to ISP (mask /30) - Configured on Ethernet 0/0 2) Group of public IP's (mask
-
My friend just made a home video movie on his newest apple TV, however, I can´t watch it on my old version of apple tv, when I try to sync it says not possible to run on this format. Would both apple´s TV formats be compatibles?
-
Can I collect the answers of a survey offline from a tablet or do I really need to be online? If I can be offline, is the same procedure as online?
-
ESS Travel / Trip Create Enhancement method
Hi , I am new to HR - Travel Management, Requirement : During Create Trip Request from ESS (Tcode - TRIP at backend) a check is required to be added to see if 2 settlements are pending to be approved then create trip shouldnt let user save the new tr
-
Work Protect Mode on WebTemplates
Hi folks, I'd like to use the Work Protect Mode using set_dirty method, but i didn't find help or instructions to implement it in a WebApplicationDesigner (WAD) WebTemplate correctly. E.g. i will get the errors EPCM or WDPortalWorkProtectMode is unde