How to Interface TSop sensor With Labview2011 & ArduinoMega2560.
Good morning reader,
I want to control my home automation system by using a TV remote control with the help of Labview2011 with hardware interfacing media as Arduino Mega2560 (R3).
Kindly provide me support regarding it.
Thank you.
Hi Danl,
We don't have anything on that protocol. However, it appears that it requires a dedicated physical interface to integrate with a PC. I assume that there is a software api for any PC hardware you need to get. LabVIEW should be able to call into that api.
Alternatey there are hardware modules for PLCs. If you are using a PLC, the PLC can act as a repeater for the sensor though an IO-Link module and communicate with LV through a protocol we do support.
Jesse Dennis
Design Engineer
Erdos Miller
Similar Messages
-
How to wire pnp sensor with data acquasition card
I would like to know how to wire a PNP Sensor with data acquasition card .
Hello,
More information would be good, but as a place to start, you may find the diagram on page 11 of this datasheet to be useful
Mark B
===If this fixes your problem, mark as solution!=== -
How to interface IMAQ 1394 with VC++
Hi All,
NI provided the VC++ SDK examples for sanp, grab etc., of NI-IMAQ1394. m trying to develop it in MFC. when m trying to execute my MFC programe m getting a problem as "niimaq1394.lib cannot open".as regarding NI doccument i declared the library file at Project>>settings>>link tab also.
and in examples which are provided by NI, i can able to execute the exe file of each. but if opend the code and executing it, then also m getting the same problem as shon above.... So please tell me, whats the wrong i did...... please correct it...
m thankful to you,Hi,
Try this out:
From the menu bar select the "Project"
menu. Select the "Settings..." option. In the left hand side of the
"Project Settings" window is a tree of the files in your project. The
name of your project should be already highlighted, but if it isn't,
you can single click the project name to select it. In the right hand
of the window is a set of tabs, each with different options for your
project. Select the "C/C++" tab. At the top of this set of options is a
menu ring where you can select a "Category". Select "Preprocessor" from
this menu ring. Under the text box for "Additional include directories"
you want to type the path to your include folder in the NI-IMAQ
directory. (For example, the path I used was "C:\Program Files\National
Instruments\NI-IMAQ for IEEE-1394\include".) This sets up the location the header
files for the example.
Next, select the "Link" tab. This will also have
a "Category" menu ring. Select "Input" from the menu ring. Under the
text box for "Additional library path" you want to type the path to
your lib folder in the NI-IMAQ For IEEE 1394 directory. (For example, the path I used
was "C:\Program Files\National Instruments\NI-IMAQ for IEEE-1394\lib\msvc".) This
sets up the location of the library file "niimaq1394.lib" for the example.
Allen H.
Message Edited by allen_h on 09-08-2006 12:50 PM -
Inductive proximity sensor with DAQ
Hi everyone
I am planing to connect my inductive proximity sensor with NI-9215 DAQ but not sure will that thing work perofectly. Also i don't know how to connect my sensor with the BNC terminal.
The sensor I am using is from automation direct AM9-05-1A with input volatage of 10-30 VDC and output voltage range from 0-5 VDC.
I want DAQ to monitor my output signal from sensor.
Hey lynn
I am planing to use NI-9215 DAQ. Here is the link for that.
http://sine.ni.com/nips/cds/view/p/lang/en/nid/208793.
Since this kind of DAQ has BNC type of connectivity with it so I am not sure how to connect my sensor with this connector.
Thanks -
Best way to interface flash AS3 with CF
Does anyone know of any good examples of how to interface
Flash AS3 with Coldfusion?
Thanks!!!
CarlosUnfortunately the camera does something with flash media, which could confuse the question. Do you mean that you want to use this camera for creating Adobe Flash Video content? If that's the case I would argue to use its 720p/24p mode, that would give you 24 fps 1280x720 movies that ought to work nicely in Flash, and could scale to smaller 16:9 sizes better than say a 1080i video would. You could use 720p/30p too if you want it a little smoother.
If you have Studio 8 installed on the machine you're using, you can export straight from FCP to FLV, by choosing the Export to FLV option in the Export using QuickTime Conversion dialog. -
I want to interface PCI-6601 with photoelectric sensors to count the number of PCB chassis.
I want to interface PCI-6601 with photoelectric sensors to count the number of PCB chassis. Related this I have following problems-1)Where I can connect sensors(pin numbers)?
2)How I can acquire data from that sensors(Is is necessary to write any program? If yes, what?)
3)In which format I will get the output data?Hi,
We're going to need a little more info about your application before we can get you a compete answer.
Your 6601 is a counter/timer board that can count and measure TTL pulses.
You can get the pinout for your board from the user manual found here: http://digital.ni.com/manuals.nsf/websearch/dd0dbb6404bc139886256721007cf16d
In LabVIEW, you can find shipping examples for various counter measurements by going to Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Counter Measurments.
I would also suggest downloading and installing the latest NI-DAQ driver:
http://digital.ni.com/softlib.nsf/websearch/90B60D5899BCCCDB86256FC700581B89?opendocument&node=132050_US
-Sal -
How to interface with ROWID column in DB2?
I'm using DB2 version 7.1.
I have a column in a table called ROWID, and the Data Type is ROWID. However, I don't know how to interface with it in Java. For example, for CHAR and VARCHAR, I use the String class. For SMALLINT, I use int, etc. But what do I use for ROWID? It's not in the java.sql.Types list. The DB2 manual says it is stored as a VARCHAR(17), but I didn't just want to assume I could use String.
Any thoughts?try getObject() and see what kind of object you get:
ResultSet rs = statement.executeQuery("...");
while(rs.next()) {
Object o = rs.getObject(1); // the rowid column
System.out.println(o + " class: " + o.getClass().getName());
} -
How to interface the Weigh Bridge System with ABAP thru' RS232 PORT
Hi Gurus,
Can any one guide me how to interface the Weigh Bridge System with ABAP thru' RS232 PORT. I think we have to use the BAPI. What is the name of the BAPI.
I have to capture the GROSS WEIGHT, TARE WEIGHT. can any one give me the code for that.
Goodwill
Jacob charlesHi Jacob,
<b>You can integrate Weigh Bridge with SAP ABAP .
I have done this for one of our projects
The technology used in RFC SDK and DCOM Connector.
Refer to this link
SAP Business One SDK Version 2005 [original link is broken]
Search here for sap software distribution center link
https://websmp203.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=SEARCH&HIDE=&SEARCH_SPAT=X&SEARCH_BPAT=X&SEARCH_CD=X&SEARCH_P=X&SEARCH_PV=X&SEARCH_C=X&SEARCH_CV=X&SEARCH_TA=&SEARCH_V=&HIDE_EXPERT_SEARCH=X&SEARCH_MAX_RESULT=20
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndcom/html/sapintegration.asp
http://www.intelligententerprise.com/channels/applications/feature/archive/homann.jhtml;jsessionid=BR44S4YLZ0HSGQSNDLOSKHSCJUNN2JVN?_requestid=505707
www.sapgenie.com/sapgenie/docs/SAP%20Connectors.doc
help.sap.com/printdocu/core/ Print46c/en/data/pdf/BCMIDDCOM/BCMIDDCOM.pdf</b>
Good Luck and thanks
AK -
Re: how can i interface Oracle 8i with webpages in HTML
Hi all,
I am a novice in Oracle 8i. I want to know how to interface some tables that are in Oracle 8i with some static pages in HTML? Can it be done or do I have to use Java?
I need a prompt reply for this.
Thanks,
SangeetaYou'll have to use the destype DELIMITEDDATA to render your Report in CSV format. Then set the mime type to Excel. I don't know the exact syntax, so please do a search in metalink for "reports excel" for examples and more info.
Regards,
Martin Malmstrom -
How i conect de sensor HC-SR04 in labview interface whit arduino?
how i conect de sensor HC-SR04 in labview interface whit arduino?
i have a proyects and i dont have idea in what about conect this sensor i labview :/Hello sacg94,
Thanks for using NI’s forums! Additional to the information that Dennis provided I send you a small example of the NI Community that uses the sensor that you just mentioned. Please note that the example uses the Arduino toolkit for LabVIEW.
Example: https://decibel.ni.com/content/thread/12971
Toolkit: http://sine.ni.com/nips/cds/view/p/lang/en/nid/209835
Hope this helps!
Regards,
Luis C.
National Instruments México
Ingeniería de Aplicaciones
www.ni.com/soporte -
SSI (Serial Synchronous Interface) displacement sensor.
Hi,
Thanks advanced for your reply.
How can I measure the signal from SSI (Serial Synchronous Interface) displacement sensor (MTS) with NI CompacDAQ or other products? Which module should I use? How to interprete the signal with Labview8.2?
Thanks,
jasonHi Jason,
There is another discussion form that has worked on this same issue. Please look here for further information. If you have any further questions please let us know.
Regards
Krista S.
Applications Engineering
National Instruments -
How to create a node with attributes at runtime in webdynpro for ABAP?
Hi Experts,
How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
Please help!
Thanks
GopalHi
I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
Note
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
My code is like the following:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on condition
Message was edited by: gopalkrishna baliga -
How to set up SAPconnect with email server
Hi,
Does any one know <b>how to set up SAPconnect with email server</b>
We are using workflow and when it fails it we are sending the notification mail to the user on his company mail id, i.e. [email protected]
This is working in the current production system. We are doing the new development which will replace the current production system. The existing Basis team does not know how it was setup in production system and how to set it up in the new system.
When we send any mail notification from workflow we can see the mail in SCOT transaction but it is not received at the specified mail address.
Can any one provide the configuration steps or any document for this.
Thanks in advance..
PratikHi Pratik,
Check the following link:-
/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
http://help.sap.com/saphelp_nw04/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
these link will help u to config SMTP.
And one more thing u have to do..
Go to SE11 n open Table sxnodes in change mode.
And change F_ESMTP field to false i.e. BLANK for the Field NODE = SMTP.
Hope this will work For U.
Regards
Sachin Dhingra -
Which is the best MIDI interface to use with Logic 7 ?
Hi folks :o)
Firstly, thanks all for any advice you can give. I'm a pro user, but right in the middle of a major upgrade (G4/OS9/CubaseVST32 >> G5/OSX/CubaseSX3/Logic7) & feel a huge learning curve coming on!
The situation is this:
I have a Steinberg Midex 8 midi interface, plus a MOTU MTPav in the cupboard. The Midex took place of the MTPav because it had much better midi timing under OS9 with Cubase... The Midex8 drivers for OSX, however, are still beta & a pile of rubbish. (It keeps losing communication with the G5.) I'm fed up with how bad Steinberg have been sorting (not!) these problems out (not to mention the fact that Cubase SX3 can't recognise my 'studio' created in Audio Midi Setup either.. arghh!), so I'm considering jumping ship & going entirely to Logic in one hit, plus whichever is the best midi-interface for this software & OSX.
As food for thought, I'm currently thinking of tracking down a 'Unitor 8', having made the (perhaps wrong) assumption that it'd work 'best' with Logic seeing as it was made by Emagic. BUT, despite a lengthy search in Logic 7's manuals & this forum, I can't find any mention of Emagic's 'Active Midi Transmission' protocol & whether or not Logic 7 supports it; AMT is the only reason I'd buy the Unitor. (I've got all the other bases covered with the MTPav.) I'm also concerned about the long-term support issues regarding drivers for the Unitor 8 & OSX; ****, I'm having enough problems with Steinberg & their Midex 8 (which is still a current product in theory!) without throwing Emagic & a midi interface that's no longer manufactured into the pot...
So..... What do you folks feel is the best midi interface to use with Logic 7 as regards tight midi timing & system reliability? Can anyone out there with a big midi setup categorically say "I've got one (or more) of these MIDI interfaces, it works beautifully under OSX & Logic 7, & the MIDI timing is rock-solid, even when put under heavy midi 'duress' " ??
Many thanks again in advance for any feedback!
Your new Logic Pro virgin ;o)
JasonThanks for your reply folks. It's good to hear a number of you are having good results with your MTPav - I guess I'll pull mine out of the cupboard in that case!
As an aside, it's been interesting to note how difficult it's been to get a clear answer from companies (be it shops or Apple) as to whether or not Logic 7 supports 'Active Midi Transmission' on the old Unitor 8 MkII..... (The reference manual has one mention of it in the index, yet points to a page that doesn't say anything about AMT at all!)
If anyone here DOES have a clear answer about AMT with Logic 7, I'd be very interested to hear about it... thanks.
Kind regards,
JC -
IF_IXML : How can i add encoding with value UTF-8 to the document object??
Hi
i want to create a xml file with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://....">
</OpenSearchDescription>
i did this with the if_ixml interface and rendered the content in a file 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://....">
</OpenSearchDescription>
BUT the document attribut(?) encoding="UTF-8"?> is missing!
How can i add encoding with value UTF-8 to the document object?? it should look like:
<?xml version="1.0" encoding="UTF-8"?>
*here is my coding.
TYPE-POOLS: ixml.
CLASS cl_ixml DEFINITION LOAD.
DATA: lo_ixml TYPE REF TO if_ixml,
lo_streamfactory TYPE REF TO if_ixml_stream_factory,
lo_document TYPE REF TO if_ixml_document,
lo_parent TYPE REF TO if_ixml_element,
lo_ostream TYPE REF TO if_ixml_ostream,
lo_renderer TYPE REF TO if_ixml_renderer,
lv_rc TYPE i.
lo_ixml = cl_ixml=>create( ).
lo_streamfactory = lo_ixml->create_stream_factory( ).
lo_document = lo_ixml->create_document( ).
lo_parent = lo_document->create_simple_element( name = 'OpenSearchDescription' "root node
parent = lo_document ).
lo_parent->set_attribute_ns( name = 'xmlns'
value = 'http://....' ).
*rausrendern in file
lo_ostream = lo_streamfactory->create_ostream_uri( system_id = 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml' ).
lo_renderer = lo_ixml->create_renderer( ostream = lo_ostream
document = lo_document ).
lv_rc = lo_renderer->render( ).
Thanks for help
BrittaUse the following code:
set an document encoding
l_encoding = l_ixml->create_encoding( character_set = 'UTF-8'
byte_order = if_ixml_encoding=>co_none ).
l_success = l_ostream->set_encoding( encoding = l_encoding ).
create a xml renderer
l_renderer = l_ixml->create_renderer( document = l_doc ostream = l_ostream ).
Maybe you are looking for
-
ABAP OO: how to pass a internal table with objects as a method parameter
Hello all, I have a class "ZCL_VEHICLE", this class contains the attribute WHEELS. This attribute contains objects of the class ZCL_WHEEL. (definition: data WHEELS TYPE TABLE OF REF TO zcl_wheel.). I now need a method that gives this table back (as r
-
IDOCS for GOA not generated in ECC.
Hi Friends, In our development systm we have configured the GOA functionality. Now we have moved to Quality system. I have maintained all the partner profiles and distribution model as required in std settings and similar to the development system an
-
How change size of an anchored object ?
Hello, I make a script that change size of a element by looking name (label and name). So It's work very well : var myStories = app.activeDocument.pageItems.everyItem().getElements(); for(var i=0;i<myStories.length;i++){ if(myStories[i].name=="Post_i
-
73 Days and counting and Photo Stream still grayed out in iCloud CP
73 Days and counting and Photo Stream still grayed out in iCloud CP since problem first discussed with Apple. No help, just reported to software engineers for investigation. Two months ago! So much for Apples's superior products and customer service.
-
Linked server using kerberos working fine then after inactive for 10 minutes start receiving the anonymous logon error