Timing test of I2C interface chip
I am new to Labview and meet some problems.I hope I can get your help,and any help is appreciated.I want to generate 2 controllable digital waveforms using PXI-6552 with HSDIO.In this way,I try to stimulates SDA and SCL regarding I2C serial protocol .And my problem :I dont know how to make SDA digital line generated by PXI-6552 delayed or forward in order to check the I2C interface chip's setup time is right or not according to I2C user mannual.
Thank you very much.
NI provides a LabVIEW API for the USB8451. If you use the USB8451, you would use the provided API to write a program that controls the USB8451 and you would do all of the I2C communication in your program. This would mean using functions / SubVI's to connect to the USB8451 and then perform I2C operations through it.
If you use USB already on your device, then you would probably use NI-VISA as the driver and have to get / write your own API to talk to the specific device. The manufacturer may have a LabVIEW (or other) API available for talking to the device that you could get. If not, then you would have to understand the details of how to communicate with the device and then write an API using NI-VISA serial functions. This would mean making NI-VISA be the assigned driver for the device and then using VISA Serial functions / SubVI's to send the messages and receive the responses.
Similar Messages
-
I2C interface (Sensor Data Acquisition) LabVIEW
Hi all!
Hope you are doing great!
Well I have a question which is more about asking all you for an idea!
The Situation:
I have a circuit board which has an On-Off Valve, Digital pressure sensors (manufacturer AMD) and Humidity/Temperature Sensors (make- IST Hygrosens). On the board all the sensors communicate as I2C slave devices and all the data from the sensors is read into an I2C --> USB adapter chip which further connects to the PC via normal USB cable.
Additional to this board, There is a Relay circuit with a simple 1-pole relay which controls an on-off valve on the above Circuit board. This valve is controlled totally separate via a coaxial cable from the relay directly to the Valve. But the relay board has a I2C interface and it also acts as a slave device. The relay board has the same I2C --> USB adapter chip.
Both the Relay board and Sensor board connect via USB to the PC which I suppose is the Master device.
The software code written for this arrangement and Sensor data acquisition is too old and there are a lot of problems coming. I have almost given up troubleshooting..
I now want to translate this automation system onto LabVIEW. I searched the NI website where there is a DAC card called - USB8451 which supports I2C interface... I am a beginner in LabVIEW and cant really make sense out of how should I go about implementing this system on LabVIEW..
If you guys can please help me out to atleast start (like what all hardware I would need etc..), to have a clear picture, it would be great help!!
Looking forward to your inputs and Thank you so much in advance!
Cheers!
PramitNI provides a LabVIEW API for the USB8451. If you use the USB8451, you would use the provided API to write a program that controls the USB8451 and you would do all of the I2C communication in your program. This would mean using functions / SubVI's to connect to the USB8451 and then perform I2C operations through it.
If you use USB already on your device, then you would probably use NI-VISA as the driver and have to get / write your own API to talk to the specific device. The manufacturer may have a LabVIEW (or other) API available for talking to the device that you could get. If not, then you would have to understand the details of how to communicate with the device and then write an API using NI-VISA serial functions. This would mean making NI-VISA be the assigned driver for the device and then using VISA Serial functions / SubVI's to send the messages and receive the responses. -
What is procedure for testing a PI interface ,
what is procedure for testing a PI interface , i need step by step , please help me .
there is secnerio from mq seris to idoc , the large amount of data is coming . i want to do testing for this .
weather any test case are there .
other rwb , pay load , any other option is there .Hi,
divide your scenario into Success and Failure Cases..
Success Case :
1. Message should get processed successfully in PI and in ECC (idoc).
Failure Case :
1. Check the adapter fails an alert is triggered.
2. Check for the Mapping Failure and alert is triggered.
3. Finally idoc failure errors in both PI and ECC..
HTH
Rajesh -
I2C interface with 400kHz clock rate
The max clock rate of NI's USB-8451 I2C interface is 250kHz.
Please support my request for an interface with at least 400kHz.
Has anybody used interfaces (with LV driver) from third-party suppliers with a clock rate of 400kHz or higher ?Hi Christian,
Thank you for your suggestion.
Because I don't use the LV FPGA Module, this is a too expensive solution !
Best regards -
Multiple timed loops in RT interface- initialization, communication
Problem Description :
I am attempting to deploy an adaptive control system using cRIO. I have an NI
9505 that controls a motor, and triggers other part of the machine to produce
data. I get data in my control loop and perform on-line estimation (currently)
using RLS estimator.
I have two-fold trouble
1> My Motor control and data acquisition is on one FPGA VIs and data filtering
and Estimation algorthon is on the other FPGA VI. I am supposed to call both of
the FPGAs in my RT interface VI with necessary operations.
Problem 1: How to simultaneously call two FPGA VIs in separate timed/while
loops in my interface VI?
2> Note that these two loops are supposed to talk with each other, once
estimation VI produces new coefficients, they are to be fed back to control VI,
I am not sure how to perform this.
It's kind of time critical that I accomplish this , Please help.
Thanks,
NI Software : LabVIEW Professional Development System version
NI Hardware : CompactRIO deviceBecause of the nature of FPGA, you can’t call two FPGA VIs at the same time. When you call an FPGA VI, you load up an FPGA bit file and physically reconfigure the FPGA chip. The FPGA chip can only be configured for one bit file at a time, so simultaneously calling two files at once will not be possible. If you need to perform functions from both VIs simultaneously, you could try combining them into one master VI that contains the functionality of both VIs. You could then pass information to and from each RT loop to the appropriate section of FPGA code. Keep in mind that FPGAs are a finite resource, so you’ll need to make sure that this new larger FPGA VI still fits on your chip.
Hope this helps answer your questions! -
SPROXY error testing outbound proxy interface
Hi,
I am trying to test an outbound proxy interface using SPROXY but am getting the following error:
Apart from the above messages there is no more help available. When I try testing the generated XSLT program using SXSLT_TEST it gives an error "No valid XSLT program supplied". I have checked and the auto generated XSLT program does exist.
Any help appreciated.
Thanks
CheHi Che Eky,
Check out below helpful thread & doc:
SERIALIZE_APPLICATION_DATA Conversion error ABAP => XML: Request Message
Serialization issue in abap proxy
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a89312f8-0b01-0010-86b3-fdd7178e0534?QuickLink=index&…
Regards,
Krupa -
Time-out limit of the 8451-I2C interface for hold-master condition
I am working with Windows XP, Labview 8 and the USB-8451 I2C to USB interface-box.
We intend to incorporate the USB-8451 into our product evaluation kits for a new sensor product.
This evaluation kits should be used by our customers when they start working with our sensor products.
The I2C-device is a digital sensor which generates a hold-master condition with difference length, depending on the sensor configuration.
The hold-master is produced by the sensor after full transmassion of start-bit, address, read-bit and ACK.
After the hold master is suspended three bytes can be read by the master.
If the hold-master is kept by the sensor for 25 ms or less I have no problems. When keeping it significantly longer the interface seems not to work properly anymore. I don't get a LabView Error-Message but the PC (Windows?) creates a 'ding-dong' sound very similar to disconnecting and connection a USB device. (the 8451???). My LabView-Program does not show sensor data after this.
I can imagine that the hold-master is somehow too long for one element in the system.
Is there any time-out period for hold-master defined for the USB-8451?
How can I change it to higher values?
Thank you very much for your support!
Message Edited by UnexpectedLifeForm on 02-19-2007 09:48 AMDear Member,
That's right. If somebody encounter this problem again.
You should contact your local NI branch that will install the new firmware
version (that works with the last driver version)
Best regards,
Nick_CH -
Testing CAD-Desktop interface with CAD-system
Hi,
does anybody know if it is possible to get a CAD-system for free to test the CAD-Desktop interface of SAP?
I am not a key CAD user, I just want to look how CAD Desktop works.
Regards,
OliverYou do not need CAD system to work with CAD Desktop
call transaction SE37
In Function module enter : CDESK_SHOW
or CDESK_TEST
Fill the import paramenters
Execute it
CAD Desktop will appear -
Problem in testing the Webservice interface?
Hello All,
I created and deployed one webservice in the Xi system and SAP communication done using the RFC.
same like below link.
http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-i/technology/sap/6/
but now problem is the external system is not ready to test the interface, i need to test the interface from the XI end.
How to test the scenario using other then XMLspy and SOAPUI?
Thanks and Regards,
ChinnaDear Chinna,
Is your requirement to make full end-to-end test or make a simulation?
If you need simulation only, then PI's functionality available in Runtime Workbench and Test Confiuration tool available in Integration Builder and mentioned by Abhishek is OK.
In case the requirement is to make end-to-end test, I would suggest to use external SOAP client software in order to generate SOAP requests and send them to PI. Please advise why XML Spy and soapUI do not suit you? Actually, you can use any software which can generate SOAP request, send it to the specific endpoint and handle response.
My regards,
Vadim -
Hi friends ,
In my scenario ABAP Proxy to file. First i have activated the proxy . While i was trying to <b>Test Interface (F8)</b> BUTTON . It is showing the Following Message
<b> 1. My sm59 's TCP/IP Connection test for LCRSAPRFC is ok
2. Test for SAPSLDAPI connection test is ok</b>
Message
<?xml version="1.0" encoding="utf-8" ?>
- <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
- <asx:values>
<SYSTEMFAULT href="#o54" />
</asx:values>
- <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
- <cls:CX_AI_SYSTEM_FAULT id="o54">
- <CX_ROOT>
<TEXTID>F63AFF63DBE4BB4786A7F52CC4167145</TEXTID>
<PREVIOUS href="#o43" />
<KERNEL_ERRID />
- <INTERNAL_SOURCE_POS>
<PROGID>190</PROGID>
<CONTID>564</CONTID>
</INTERNAL_SOURCE_POS>
</CX_ROOT>
<CX_STATIC_CHECK />
- <CX_AI_SYSTEM_FAULT>
<CODECONTEXT>Local</CODECONTEXT>
<CODE>GET_BUSINESS_SYSTEM_ERROR</CODE>
<ERRORTEXT>An error occurred when determining the business system (NO_BUSINESS_SYSTEM)</ERRORTEXT>
<LANGUAGE />
</CX_AI_SYSTEM_FAULT>
</cls:CX_AI_SYSTEM_FAULT>
- <cls:CX_XMS_SYSERR_PROXY id="o43">
- <CX_ROOT>
<TEXTID>A618D069BDF2D7458C8D9FB22F2735F4</TEXTID>
<PREVIOUS />
<KERNEL_ERRID />
- <INTERNAL_SOURCE_POS>
<PROGID>190</PROGID>
<CONTID>726</CONTID>
</INTERNAL_SOURCE_POS>
</CX_ROOT>
<CX_STATIC_CHECK />
- <CX_XMS_SYSTEM_ERROR>
<ID><b>GET_BUSINESS_SYSTEM_ERROR</b></ID>
<P1>NO_BUSINESS_SYSTEM</P1>
<P2 />
<P3 />
<P4 />
<INFO />
<CATEGORY>XIProxy</CATEGORY>
<AREA>ABAP</AREA>
<RETRY>M</RETRY>
</CX_XMS_SYSTEM_ERROR>
- <CX_XMS_SYSERR_PROXY>
<CO_AREA_ABAP>ABAP</CO_AREA_ABAP>
</CX_XMS_SYSERR_PROXY>
</cls:CX_XMS_SYSERR_PROXY>
</asx:heap>
</asx:abap>
I have created the <b>HTTP Connection Tyep H</b> , But in <b>Response body</b> type it is showing the follwing<b>messasge</b>
- <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header />
- <SOAP:Body>
- <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>SOAP:Client</faultcode>
<faultstring>Empty HTTP request received</faultstring>
<faultactor>http://sap.com/xi/XI/Message/30</faultactor>
- <detail>
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIProtocol</SAP:Category>
<SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Empty HTTP query received; message processing not possible</SAP:Stack>
</SAP:Error>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
Can u please suggest me to solve this issue
Regards.,
V.RangarajanHi sabrish ,
Thanks for ur reply. I am trying small Abap proxy to file scenario only. I have referred the Ravi's blog.
In sm59
1. for <b>LCRSAPRFC </b> technical setting gateway given as
host xidev and gawtaway as sapgw12 like that
Connectrion succesful
2. for SAPSLDAPI also same as
technical setting gateway given as
host xidev and gawtaway as sapgw12 like that
Connectrion succesful
I have activated the proxy But just trying to click the Test Interface button. it has shown that messsage
Do i need to make any changes , like connection as R3Dev system's host ?
Regards.,
V.Rangarajan
Message was edited by:
ranga rajan -
Win 7 Ts with a group to pre-provision Bitlocker (SCCM 2012 SP1)
The group has a condition to run only if "select * from win32_TPM where IsEnabled Initialvalue="False"
This works fine on HP laptops but testing a Dell Latitude it skips past
Check wbemtest on the laptop I see the class with a value of <null>
so I 've added an extra condition if any of the conditions are true to include initialvalue="<null>"
still skips past the group - I also tried just "null" bit same again
any thoughts ?
Ian Burnell, London (UK)Thanks for replying Niall. Yes I'm following your article and it works great. It is simply the TS test I need to determine whether to run or skip the "pre-provision Bitlocker" group.
My current test for the group is to test for Win32_tpm where isenabledinitialvalue="false". There is a mix of HP and Dell kit (all bare-metal out of box builds). For HP kit this test works fine i.e. the group runs but for Dell kit it skips the group therefore
evaluating the condition to be false - that's what I need to sort out. When you look in Bios the chip is there but TPM is not enabled or activated hence the steps using the CCTK (or HP Repset) but its just getting the right condition test so that it will run
the group correctly
Ian Burnell, London (UK) -
Test Plan For Interface Scenarios
Hi Team,
I have maintained the interface scenarios in SOALR01. This "Interface Scenario" is the standard node in Solution Manager like "Organizational Units", "Master Data" & "Business Scenarios". But in STWB_2 (Test Plan Creation), the interface scenarios are not listed for selection.
Can anyone please let me know the reason?
Note: I am using Sol Man 7.0
ThanksDo you have some more details about the equipment and setup you want to test.
-
Hi all,
Actually I wants to test my custom data link, for testing this I did the following steps in my debug build.
1- I check "ON"
Test->Links->test Missing Links chache
in the Indesign cs2
2- Now I click the menu Test->Links->test basic Interface
Then I got a message dialog having message "ICoreFilename Interface is now broken"
After clicking "OK" of this dialog I got another message dialog which having message "This IDataLink interface does not meet the minimum requirements"
after that I got "test completed"
But I am not able to get/trace these messages even I don't no much more about these tests.
what are these tests and messages?.
How I can trace/fix this problem in my code?
What are the minimum requirements of the IDataLink?
anybody knows about these Please let me know.Hi Alex
For "Default Quality Assurance Check List" which is associated with OKC below are the set processes usually called
Process || Package || Procedure
=============== ================= ===========================
Check Required Values || OKC_QA_DATA_INTEGRITY || CHECK_REQUIRED_VALUES
Check Rule Groups || OKC_QA_DATA_INTEGRITY || CHECK_RULE_GROUPS
Check Rule Group Parties|| OKC_QA_DATA_INTEGRITY || CHECK_RULE_GROUP_PARTIES
Check Effectivity Dates || OKC_QA_DATA_INTEGRITY || CHECK_EFFECTIVITY_DATES
Check Configured Lines|| OKC_CFG_PUB || CONFIG_QA_CHECK
Check Price || OKC_QA_PRICE_PVT || CHECK_PRICE
Check Email Address || OKC_QA_GENERAL_CHECKLISTS|| CHECK_EMAIL_ADDRESS
Check Address || OKS_QA_DATA_INTEGRITY || CHECK_ADDRESS
Check Covered Line Qty|| OKC_QA_PRICE_PVT || CHECK_COVERED_LINE_QTY
Check Covered Line Qty|| OKC_QA_PRICE_PVT || CHECK_COVERED_LINE_QTY
Check Contract Terms || OKC_TERMS_QA_GRP || CHECK_TERMS
For "Default Service Contracts Quality Assurance Check List" all the processes called are associated with procedures in the package OKS_QA_DATA_INTEGRITY
All the packages are under APPS schema.
Thanks
Sid. -
Problem in using Step into and Step Over button in Test Stand user interface development.
hi,
I am developing operator interface in VC++
currently I am facing a problem, I have created Teststand UI button controls dynamically on the dialog, I have assigned the buttons for break, Resume, Break all, Resume all, Step into and step over.
Break, Besume, Break all , Resume all buttons are working fine, the Step into and step over buttons are enabling if I break the execution, but after breaking the execution when I click the Step into button I expect that the current step will be executed and, breaks at the next statement, but when I click the Step Into button It is behaving like resume button, I mean the executioin is going on till the end of the sequence file, it is not breaking at the next statement,
Is my Step into button working the way it is supposed to be?, it is the same case with my step over button alsoI am connecting the TSUI button control to the execution view mgr in the CTestExecDlg:nDisplayExecutionApplicationMgr(LPDISPATCH exec, ExecutionDisplayReasons reason)
message funciton , and nothing I am doing nothing else, this is my code statement how I am connecting the button to the execution view manager.
mExecutionTab.m_pControlPtrArray[0].mExecutionViewMgr->ConnectCommand(mExecutionTab.MiscControls.m_StepInto,CommandKind_StepInto,0,CommandConnection_NoOptions);
mExecutionTab.m_pControlPtrArray[0].mExecutionViewMgr->ConnectCommand(mExecutionTab.MiscControls.m_StepOver,CommandKind_StepOver,0,CommandConnection_NoOptions);
Am I missing anything wrong? Can anyone please help me out.Al B,
I'm not the original author of this post, but I have encountered a similar problem. My C# application has implemented the following "debug" buttons that work just fine: Run All, Pause, Continue, Stop. But my Step Over button causes the Sequence to run to completion. When the user clicks on the StepOver button, only one line is executed:
this.axExecutionViewMgr.Execution.StepOver();
but it behaves like its calling
this.axExecutionViewMgr.ResumeExecution();
Can you offer any insight into this issue? -
Error occured during the "test of the interface"
Hi,everybody
where I do the "Test Configuration" in the ID(Tools->Test Configuration),an error occured.
Internal Error
HTTP connection to ABAP Runtime failed.
Error:403ForbiddenURL:http://NEUESDNWXI01:8001/sap/xi/simulation?sap-client=500
User: PIDIRUSER
what can i do with the error?
ThanksHi
Check if the service for testing in XI (in transaction SCIF)is turned on,
<i>Note :Forebidden is generally an auth or password error. </i>
Also Check This
4) Error: HTTP 403 Forbidden
Description: The server understood the request, but is refusing to fulfill it
Possible Tips:
Path sap/xi/engine not active
HTTP 403 during cache refresh of the adapter framework - Refer SAP Note -751856
Because of Inactive Services in ICF Go to SICF transaction and activate the services. Refer SAP Note -517484
Error in RWB/Message Monitoring- because of J2EE roles Refer SAP Note -796726
Error in SOAP Adapter - "403 Forbidden" from the adapter's servlet. Because of the URL is incorrect or the adapter is not correctly deployed.
Regards
krishna
Maybe you are looking for
-
How to customize the error messages in web analysis reports
Does anyone know how to customize the error messages that web analysis shows , I want to customize the below error message with a custom error message "Document does not exist or no authorization to open document.Error occurred while loading document
-
Since upgrading to Maverick my iPhoto does not consistently download my Nikon or my Canon camera photos. Occasionally it will recognize and download photos, most of the time though it hangs in "loading" mode with nothing downloaded. I've unplugged, r
-
Getting unauthorised error!!!!please help
hi, i downloaded sun one web server 6.1.i have put my class files under WEB-INF folder.do we need to write web.xml file to run servlets.I have tried to run helloworld program.when i run ,i get a window (connect to local host).But if i type the userna
-
External callers voicemail timeout 60 seconds
I have 7.1.3 Unity system and the problem I am having is when an external caller goes to voicemail they are allowed to talk for exactly 60 seconds then the call will drop, no warning, or nothing. Internal users calling between each other can leave o
-
The Software Protection service entered the running state.
I noticed this event fire once in minute. I can't see tree from leaves in System Log Log Name: System Source: Service Control Manager Date: 18.10.2012 08:44:17 Event ID: 7036 Level: Information Keywords: Classi