DMM IVI read measurement update
Hi,
I am using Teststand DMM IVI step to measure voltage to ground via 100K ohm pull-up resistance to 20V supply. While monitoring this voltage using external DMM it shows 13.4V however after "DMM IVI Read" step is ran the external DMM voltage shows 19.7V!! Any idea why this is happening, I'm using:
NI DMM 4070
TestStand 4.1
Labview 2010
and Switch Executive 3.0
Many Thanks
Mehran
Mehran Fard
Solved!
Go to Solution.
Hi Andy,
It is just an step with "DMM IVI" to measure voltage, attached is the image of the sequence I am using with simplified cct.
Unfortunately I won't be able to post you the complete sequence.
Regards
Mehran fard
Mehran Fard
Attachments:
DMM IVI.JPG 151 KB
Similar Messages
-
We are controlling a Keithley 2000 series DMM using the IVI Dmm Step in TestStand version 3.0.
The logical name has been set-up using MAX version 3.0.2, the logical name references the ke2000 driver session. When run under TestStand the DMM configures correctly and will take a first reading correctly but subsequent reads fail with a timeout error. We’ve tried using the LabWindows example code found in directory \program files\ivi\drivers\ividmm\examples\cvi, this exhibits the same problem found use TestStand. Is this a MAX set-up problem, any help will be appreciated.
Below is listed the software/environment we are using with the DMM:
Software Version
IVI Compliance Package 2.1
NI VISA 3.0.1
NI-488.2 1.7
Instrume
nt Driver (LabWindows/CVI 6.0) 3.02
Measurement and Automation Explorer 3.0.2.3005
TestStand 3.0
CVI Runtime 7.0.0.393
LabWindows/CVI 7.0
WindowsXP ProHello Steve Penny �
What is the exact error code you are receiving? You can find a list of common GPIB error codes and solutions here.
Make sure you are using the correct driver for your GPIB board. Windows XP also uses NI 488.2 version 2.1. Click here for a list of current drivers by platform.
If these suggestions do not solve your problem, please post the error code so the matter can be further investigated. Have a great day!
Becky B.
Applications Engineer
National Instruments
Becky Linton
National Instruments
Field Engineer
Office: 734-464-2463
Cell: 248-709-2822
Email: [email protected] -
Keithley 2000 DMM AC Read Overflow
I’ve been having problems controlling a Keithley 2000 DMM during AC volts measurement using IVI. When reading AC Volts the DMM will intermittently sense an ‘overflow’ and return the value NaN. I’m using IVI and TestStand 3.0 but get the same problem with IVI and LabWindows 7.0.
The set-up is as follows:
Device: Keithley 2000 DMM, GPIB device number 6
Device interface: GPIB, DMM set-up in MAX as GIPB0::6::INSTR
IVI Driver version: 3.02, downloaded from the NI web site
IVI Compliance Package version: 2.1
NI-488.2 version: 1.70
NI-DAQ version: 7.1.0f1
MAX version: 3.0.2.3005
For test purposes I’ve connected the DMM front panel input high and low and set the inputs mode on the Keithley to front, this should mean that I get a very low Voltage reading. I’ve then run the LabWindows/CVI IVI control sample code provided with the IVI driver. At the initialisation panel I’ve entered the logical name. At the configuration panel I’ve selected Volt AC measurement but left everything else as default. The second configuration panel I’ve left as default. At the Read panel I’ve left all setting as default. Pressing the read button up to about 20 times with about a second gap in between each press will eventually lead to an ‘overflow’ reading.
Any help/explantion will be appreciated
SteveHere are the results of my investigation into this problem, it’s two fold:
1. Keithley have informed me that their engineers in the US have just seen the problem I’ve been seeing and are working on a firmware update. Currently here is no date for the release of the updated firmware but I’ll be informed when this it’s ready.
Note: I’ve found that the read AC Volts overflow problem only occurs when the read trigger delay is set to zero seconds.
2. The TestStand DMM IVI configuration step always sends a trigger delay of zero seconds regardless of the trigger delay set.
In my TestStand sequence the DMM IVI configuration sets the read trigger delay to 3 seconds but as noted above this is sent a zero seconds thus invoking the Keithley DMM AC Volts read overflow problem.
See attached VISA call log captured by NI Spy. The first 22 call are made when the DMM IVI configuration step is called form TestStand the next 22 calls are made by the IVI DMM sample code configuration provided by National Instruments when DMM configuration is run thorough LabWindows. Note call 12 (IVI DMM TestStand) has the trigger delay set to zero seconds (should be 3 seconds) and call 34 (IVI DMM LabWindows) has a delay of three seconds.
I’ve found a workaround as follows:
After each call to the TestStand DMM IVI configuration step an additional step that calls the TestStand IVI Tools step can be added. The IVI Tools step can be set-up to specifically configure the DMM Trigger Delay to 3 seconds. I’ve proven that this individual call does in fact send the correct trigger delay command to the DMM thus alleviating the AC Volts read overflow problem.
Can NI confirm that this problem does exist with the DMM IVI step and when they plan to fix it. I’ve attached the TestStand sequence file that I’ve been using to investigate the problem.
Thanks
Steve
Attachments:
DMM Overflow.zip 9 KB -
TestStand IVI Read Numeric Limit Test
Hey all,
How can I turn a IVI DMM reading into a test step pass / fail based on a numeric limit test?
I'm a TestStand newbie so be gentle. Searches on the forum for TestStand IVI and pass fail don't return anything useful.
I can call the DMM via IVI Read wich returns a Step.Result.Reading value but I need to turn this into a pass fail on a limit range.
Any ideas would be very gratefully appreciated.
Thanks,
Solved!
Go to Solution.You could insert an none_adapter numeric limit step after it and set the data source to PreviousStep.Result.Reading.
-Doug -
How to read and update the value of property file
Hi,
I am not able read the values from property file.
Please tell me how to read and update the values from property file using Properties class
This is my property file : - Config.properties its located in D:\newfolder
Values
SMTP = localhost
Now i need to change the value of the SMTP
New value :
SMTP =10.60.1.9
Pls Help me
Thanks
Merlin Rosina,Post a small (<1 page) example program that forum members can copy and run that demonstrates your problem.
-
Timeout error while reading and updating in batches in a single transaction
Problem:-
In a transaction I do read and update to the database in batches. First batch it runs fine and for second batch it get hanged at
sqlCommand.ExecuteReader(). The following is not my complete code but required bits of it which will give more information about the problem. At the end of this post please find the error log. Please help me.
My guess:-
The problem i see here is with the locks acquired while reading and update still remain when it comes for the second batch which is blocking the next read. But could not find a way to solve it.
Get connection and open it.
Begin Transaction.
sqlUpdateTransaction = sqlUpdateConnection.BeginTransaction(String.Format("UpdateUsageDetailTransaction{0}", storageClassId))
Get application lock.
GetApplock
const String sqlText = @"DECLARE @result int EXEC @result = sp_getapplock Resource=@resourceName,@LockMode='Exclusive',@LockOwner='Transaction',@LockTimeout=@timeout select @result";
using (SqlCommand sqlCommand = sqlTransaction.Connection.CreateCommand())
sqlCommand.CommandText = sqlText;
sqlCommand.Parameters.AddWithValue("@resourceName", resourceName);
sqlCommand.Parameters.AddWithValue("@timeout", milliSecondsTimeout);
sqlCommand.CommandTimeout = secondsTimeout;
sqlCommand.Transaction = sqlTransaction;
Int32 lockResult = (Int32) sqlCommand.ExecuteScalar();
Seek and read the range of records.
using (var sqlReadConnection = new SqlConnection(_connectionString))
sqlReadConnection.Open();
SqlTransaction sqlTransaction = _sqlUpdateTransaction;
_cdrList = CdrOps.FetchByrecordsIdRange(_yearMonth, firstSkid, firstSkid + count - 1, sqlReadConnection);
sqlReadConnection.Close();
return _cdrList.Count > 0;
static public Dictionary FetchByrecordsIdRange(Int32 yearMonth, Int64 startCdrId, Int64 endCdrId, SqlConnection sqlConnection)
Dictionary cdrList = new Dictionary();
using (SqlCommand sqlCommand = sqlConnection.CreateCommand())
sqlCommand.CommandText = "EXEC P_GetCDRData @yearMonth, @startCdrId, @endCdrID";
sqlCommand.Parameters.AddWithValue("@yearMonth", yearMonth);
sqlCommand.Parameters.AddWithValue("@startCdrId", startCdrId);
sqlCommand.Parameters.AddWithValue("@endCdrID", endCdrId);
sqlCommand.CommandTimeout = DbOps.TwoHourTimeoutValue;
using (SqlDataReader sqlDataReader = sqlCommand.ExecuteReader())
FetchrecordPieces(sqlDataReader, cdrList);
return cdrList;
Update the records to the list by using a loop Go and check if the number of records read is equal to the batch size then write and flush.
update()
_tollUpdatedList.Add((Toll) record);
_legacyUpdateCount++;
Dispose.
Dipose()
if (_sqlUpdateTransaction != null && _sqlUpdateTransaction.Connection != null)
sqlUpdateTransaction.Rollback(String.Format("UpdateUsageDetailTransaction{0}", _storageClassId));
_sqlUpdateTransaction.Dispose();
_sqlUpdateTransaction = null;
Commit.
commit()
if(_sqlUpdateTransaction != null)
_sqlUpdateTransaction.Commit();
_sqlUpdateTransaction.Dispose();
_sqlUpdateTransaction = null;
Error log.
Error: [0x80004005] MonthlyFileDb::Seek - Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.Thank you, I used beta_lockinfo and observed the following
spid=59/0/2
command = SELECT
appl=.Net SqlClient Data Provider
hostprc= 3640
dbname = DEV_ECAP_P_CAP_ENT_CMN
prcstatus= SUSPENDED
spid_ =
59/0/2
blklvl = 1
blkby = 55
rsctype =
locktype =
lstatus =
ownertype =
rscsubtype =
waittime = 785.139
waittype = LCK_M_IS
spid__ = 59/0/2
nstlvl = 3
inputbuffer = (@yearMonth int,@startCdrId bigint,@endCdrID bigint)EXEC P_GetCDRData @yearMonth, @startCdrId, @endCdrID
current_sp = DEV_ECAP_P_CAP_ENT_CMN.dbo.P_GetCDRData
spid=55
command = NULL
appl=.Net SqlClient Data Provider
hostprc= 3640
dbname = DEV_ECAP_P_CAP_ENT_CMN
prcstatus= sleeping
spid_ = 55
blklvl = !!
blkby =
rsctype = APPLICATION
locktype = X
lstatus = grant
ownertype = transaction
rscsubtype =
waittime =
waittype =
spid__ = 55
nstlvl =
inputbuffer =UPDATE UsgDetailCommon SET RunId = t2.RunId FROM UsgDetailCommon t1 INNER JOIN #UsgDetailCommon_Update t2 ON t1.YearMonth = t2.YearMonth AND t1.CdrId = t2.CdrId ;DROP TABLE #UsgDetailCommon_Update
current_sp =
But what is the solution for this...? I am googling and I found similar post but with no solution, here it is not allowing me to post html link -
When Mozilla Firefox last automatically updated, it suggested that Adobe Reader needed updating. After updating to Adobe Reader 8, I can no longer print from the internet, only to a file. I know the printer and its interface must be OK because Word prints normally.
Problem solved, it was my oversight, I had not removed the check from the Print to File box in the print set up.
-
Reader v11 Update fails on Windows Vista (entire network) with error 1310
Tried to run the Reader v11 updater after installing v11. It fails comsistently with error 1310, although the file in the error message is different each time. The file is usually, but not always, in the folder config.msi.
We had this problem in the Reader v10 updaters as well, however we traced it to a race condition in file handling. We could get it to install by running other programs concurently or disabling anti-virus, to alter the timing of the install. Usually it took 3 to 6 attempts for it to complete successfully.
With the v11 updater, no amount of iterations will get it to install. We've tried upwards of 20 times. We've also tried re-installing v11 and then applying the update over a fresh copy. That does not work either. The usual tricks that worked with v10 also do not work with v11.
This problem could be solved easily if the updater would prompt the user for a retry on error, instead of automatically rolling back. For the main installer, the user is prompted to retry, but not for the updater. We run plenty of installers in the school without problems, but the Reader updates are always difficult.
We have wasted dozens of hours on this in our school. We are supposed to keep the Reader patched to avoid the significant vulnerabilities it introduces, but we cannot get the updater to run. If anyone else has solved this problem please let us know.Lorraine, I posted a question in the Adobe Reader forums about the
problems we have with the updaters. I got back this response, they
are blaming it on other software and the Windows Installer. I think
that can't be true, we install all kinds of stuff without problems.
So I think the truth is they've done a crappy job on their updaters.
The latest update is for an extremely serious vulnerability, it's
active in the wild and has made the national news. So if we can't
install the update, then I think we have to move away from Adobe
altogether, to another reader.
Can you think of any reason not to do this? -
I keep getting an error message that reads "to update application sign into the account you used to purchase it"
I am trying to download Final Cut Pro X 10.0.9
I am signed in with the account that I purchased Final cut Pro X
I don't have another account I'm not sure what's going onWelcome to Apple Support Communities
Open the Mac App Store and go to Purchases. Do you see Final Cut Pro X listed?
If so, open a Finder window, choose Applications in the sidebar and delete Final Cut Pro X. Then, go to the Mac App Store and download Final Cut Pro X for free.
If you don't see it in Purchases, see if it's hidden, and if so, unhide it > http://support.apple.com/kb/HT4928 If it doesn't work, contact with the Mac App Store support > http://www.apple.com/support/mac/app-store/contact -
Read Measurement file does not read the first channel of my TDMS file
When I try to read a TDMS file with the Read Measurement File express VI, the first channel of the data is not there. When I open the file up in excel the channel exists
Even I have the same doubt regarding Labview plss help me reading the Excel file from 23rd row and the graph should be drawn between 1st column and 8th column , from 23rd row . Here is the sample data.
Attachments:
Book1.xlsx 204 KB -
Hi
how to create a external content type for Read and Update data from two tables in sqlserver using sharepoint designer 2010
i created a bcs service using centraladministration site
i have two tables in sqlserver
1)Employee
-empno
-firstname
-lastname
2)EmpDepartment
-empno
-deptno
-location
i want to just create a list to display employee details from two tables
empid firstname deptno location
and same time update in two tables
adilWhen I try to create an external content type based on a view (AdventureWorks2012.vSalesPerson) - I can display the data in an external list. When I attempt to edit it, I get an error:
External List fails when attached to a SQL view
Sorry, something went wrong
Failed to update a list item for this external list based on the Entity (External Content Type) 'SalesForce' in EntityNamespace 'http://xxxxxxxx'. Details: The query against the database caused an error.
I can edit the view in SQL Manager, so it seems strange that it fails.
Any advice would be greatly GREATLY appreciated.
Thanks,
Randy -
DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file
Hi
DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file
Two main
sections:
1)
Perform
write and read operations to and fro different spread sheet files, such that
each file have a single row of 32bits different binary data (analogous to 1D
array) where the left most bit is the MSB. I don’t want to manually enter the
32 bits binary data, I want the data written or read just by opening a file
name saves with the intended data.
2)
And
by using test patterns implemented using the digital pattern generator or build digital data functions or otherwise, I need to
ensure that the
binary data written to a spreadsheet file or any supported file type
then through the NI-USB 6509 is same as the data read.
I’m aware I can’t use the simulated
device to read data written to any port but if the write part of the vi works I
‘m sure the read part will work on the physical device which I’ll buy later.
My Plan
of action
I’ve
created a basic write/read file task and a write/read DAQ task for NI USB 6509
and both combine in a while loop to form a progress VI which I’m confuse of how
to proceed with the implementation.
My
greatest problem is to link both together with the correct functions or operators
such that there are no syntax/execution errors and thus achieve my intended
result.
This
project is one of my many assignments for my master thesis, so please i’ll
appreciate every help as I’m not really efficient with LabVIEW programming but
I prefer it because is fun and interesting if I get to know it.
Currently I’m
practicing with LabVIEW 8.6/NI DAQmx 8.8 Demo versions and NI USB 6509
simulated device.
Please see
the attached file for my novice progress, thanks in
advance for the support
Rgds
Paul
Attachments:
DIO_write_read DAQ from file.vi 17 KBWhat does your file look like? The DAQmx write is expecting a single U32 value, not an array of I64.
Message Edited by vt92 on 09-16-2009 02:42 PM
"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal -
Reading and Updating MS Active Directory (AD) through Oracle APEX
Hi All,
Has anyone ever read and update the AD components using Oracle APEX?
I know we can have APEX build in LDAP Authentication, but that is for the Authentication, what about reading other attributes like phone no., department, office etc. from MS AD; and about updating the same information.
Is Oracle Identity Management the only solution?
Windows 2008 R2 Server provide SOAP based AD web services (ADWS), has anyone used that with APEX (11g R2 with EPG configuration)?
Is it possible to have a C# code (through external procedure) which could read and write MS AD; can we use only "C" code in oracle as external proc or C# as well?
Any pointers would be of great help.
Thanks,
AshAsh,
It's possible to query data from the LDAP server, but it's not as easy as you'd like. I don't know about updating, but fopr querying, you're looking at creating a package using DBMS_LDAP and a pipelined function to get the data. Here's one example from a quick google search; there are others.
One thing to be aware of that burned me: the default LDAP setting limits requests to 1,000 records. If your search gives more than that, you get an error (and no data at all). So you may find yourself having to use unions to get the full data, which slows things down a bit.
-David -
MIRO - User Exit during SAVE: Read items & Update header
Hi there!
During MIRO after pressing save...
I search for an user-exit or BAdI, to READ ITEM DATA and UPDATE HEADER DATA (XBLNR) after SAVE but before UPDATE.
I have searched this forum, but with no luck. Many more then me seem to have the same problem. The most common answer have been to try BAdI INVOICE_UPDATE, but that BAdI only give READ access and NO UPDATE, so no luck there..
To summarize all my searching here and findings... I list all exits I have tested...
User-Exits
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
BADI - When saving in MIRO the following BAdI were passed...
PPA_CUST_BADI
/CCIS/FICLRDC_ENH
INVOICE_UPDATE << only read no update
ME_DP_CLEARING
AC_DOCUMENT
FI_LIMIT_PROCESS
AC_QUANTITY_GET
FMRE_BUS_PROCESS
EXIT_XFMPRI_001
CO_DOCUMENT_INFO
INVOICE_UPDATE (method change_before_update ) << only read no update
MRM_RANSACT_DEFAULT
MRM_HEADER_DEFAULT
Other BAdI's
MRM_HEADER_CHECK - Bara ingående värden för kontroll
MRM_HEADER_DEFAULT - Tyvärr sätter bara XBLNR precis när man går in i MIRO...dvs för tidigt.
MRM_ERS_HDAT_MODIFY - EJ anropad...
Would be greatful for any ideas on this matter...
Best regards
HenrikHello Henrik,
In BADI INVOICE_UPDATE there are 3 methods CHANGE_AT_SAVE, CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE.
Of these CHANGE_AT_SAVE is called before INSERT / UPDATE statements are executed. We can use this to update RBKP-XBLNR.
We can't use CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE methods as they are called after INSERT / UPDATE statements are executed and before COMMIT.
You can update RBKP-XBLNR through INVOICE_UPDATE~CHANGE_AT_SAVE method using call stack technique like below. You can replace 'VALUE' in the below code with the value based on your calculation using other variables like s_rbkp_new, ti_rseg_new etc.
method IF_EX_INVOICE_UPDATE~CHANGE_AT_SAVE.
DATA: lv_name_xblnr(30) TYPE c VALUE '(SAPLMRMP)RBKPV'.
FIELD-SYMBOLS: <fs_rbkpv> TYPE mrm_rbkpv.
ASSIGN (lv_name_xblnr) TO <fs_rbkpv>.
IF <fs_rbkpv> IS ASSIGNED.
<fs_rbkpv>-xblnr = 'VALUE'.
ENDIF.
endmethod.
Best regards,
Vishnu Tallapragada -
Reader XI update prevents form submission?
Acrobat Reader users who have had their Reader version updated to Reader XI are no longer able to successfully submit PDF forms! These users have previously used the SAME PDF form, successfully submitting them! The form was created in Acrobat Pro 9/X. Is this a known issue? Is there a fix? Users that have some version of Acrobat Pro can successfully submit the forms.
I created a form with Acrobat Pro 9. The form was distributed and is accessed via a hyperlink. When someone filled and submitted the form the data was collected via Adobe Tracker. A copy of the filled form with the user's data was also sent via email. Now, if a user that was able to successfully submit this form via Adobe Reader (X or below) is upgraded to Reader XI, that same user can no longer submit the form! They see the submit button, it appears that they have successfully submitted, but no data is sent to the Adobe tracker and no copy of the form is sent! What other details do you need? I am at my wits end with this issue... The update to Reader version XI is the ONLY commonality I have seen with the failures...
Maybe you are looking for
-
Problems with Adobe Acrobat 9 Standard on Windows 7
used to have this on my Window XP; now Windows 7 computer and tried to download Adobe Acrobat 9 Standard. It not only does not work, I cannot use the Adobe Acrobate Reader which was already on the computer. Any help would be appreciated.
-
Make a label with Zebra's ZPL II language
Post Author: rpt_Maker CA Forum: Data Connectivity and SQL All our labels are currently printed with Crystal 9.0 labels from our ERP application. All rpts use a SQL stored procedure as the record source, with the report fields on the crystal report j
-
Dear colleagues, I am witting an internal report for my company trying to put in black and white the advantages and disadvantages of OracleADF and OC4J not only as a framework but as a solution. I am trying to compare OracleADF (using JDeveloper) to
-
Why doesn't the FedEx Tracking number data detector work in Mail anymore?
Hi there, I'm running OS X 10.8.3 and Mail 6.3 (1503). I had an email come in that had a FedEx Tracking Number. The data detector picked it up and I was able to right-click and select "Track My Package". Unfortunately there was a "Communication
-
Error 1335 'itunes.cab' is corrupt.
I can't finish the install of the new version of iTunes because of an error 1335. I tried downloading the install package a second time to see if maybe there was just a problem during the download, but no dice. Any ideas? --d