Programmatically retrieving the DeviceNet "Connection" object in LabVIEW (like SimpleWho can)
I can already get all of the "Identity" object attributes, but how does one get the "Connection" object attributes?
Specifically, I would like to get the poll input/output lengths so I can set up an I/O connection. It looks like SimpleWho can get this info without actually opening the connection. Is this possible from within LabVIEW?
Hi,
The new driver version 1.5 brings some new examples and one of them creates a device list. Perhaps this is something helps you with your problem?
her is the Link for the driver:
NI-Dnet1.5
DirkW
Attachments:
GetDeviceList.llb 99 KB
Similar Messages
-
Programmatically check the existence of objects in the system
Hi,
Is there a way to programmatically check the existence of objects? The idea is I'll accept a list of names of objects and their object types and then programmatically check their existence in the system?
Can you point me to a resource on how to do it?
Thanks in advance.
--CarlHi.
All custom objects (z, y) being referred to a program. May it be z or y table, data element, domain, sapscript form, function module/group.
The goal is actually to be able to transport a program from a source machine to a target machine. The objects being referred to from the program must also be transported, of course, for it to run properly. Thus, the need to check the objects' existence.
Thanks.
--Carl -
Is there any way that I can programmatically retrieve the CVI Target Version Settings (e.g. File Version, Copyright, etc) in my CVI application?
I am using LabWindows/CVI version 7.0.
The settings that I'd like to retrieve within my application are those that are set under Build | Target Settings... | Version Info...
e.g.
File Version
Product Version
Company Name
Legal Copyright
Thanks,
Darren
Message Edited by Darren Draper on 01-16-2006 02:03 AMWell, "File access permission denied" claims for an authorization problem . I suggest you double check file attributes in the project directory: it could be that you have downloaded this example from a CD and the read-only attribute has not been cleared.
The library does not reside in the example folder: as you can see by selecting View >> Show full pathnames in the project window, it should be in ....CVI\sdk\lib folder.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
Every time I try to sign on it says that ichat lost the connection to the AIM account and the server connection was unexpectedly lost. How can I fix this?
Note For others.
For the Port Changes (or server names in some cases) you have to be logged out to make changes on the Server Settings pane.
9:41 PM Friday; October 28, 2011
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb( 10.6.8)
Mac OS X (10.6.8),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
Can I adjust the page margins in Adobe Reader like I can in Word?
I have a quilting pattern I am trying to enlarge, but I cannot find a way to adjust the left or top margins so when I want to print an 8" square, the left margin is staying at 2", no matter what I try. I thought I would be able to adjust the margin, just like in Word.
I have Windows 7If I purchase the Adobe Reader converter to a Word document I should be
able to right? Or is there an upgraded version of Adobe where I could
adjust the margins??
In a message dated 10/26/2012 8:37:59 A.M. Eastern Daylight Time,
[email protected] writes:
Re: Can I adjust the page margins in Adobe Reader like I can in Word?
created by Claudio González
(http://forums.adobe.com/people/Claudio+González) in Adobe Reader - View the full discussion
(http://forums.adobe.com/message/4802408#4802408) -
How to programmatically retrieve the real field name from a view object ?
Dear all,
when I map a business component (a database table) to a view, the fields are automatically converted by JDeveloper, for example, a field named 'user_id' in the oracle table definition, becomes 'userid' in the view.
The question: how can I retrieve the right table column name from within a backing bean ? Please explain also what should I bind and how; should I use an iterator ?
Another more: since we can change the label of a field on a view, how can then I get the mapping between the column name on the view and the column name on the table in the database ?
Thanks in advance,
Sergio.Hi Timo,
many thanks for your answer.
The rest of my question: you know we can drop a view from the DataControls onto a ADF page, with each field of the table having a label.
That label is initially set like the internal table field name, so for instance, if user_id is the real table field name, userid will be the (by JDeveloper) internal renamed table field name, and the label would be userid too.
If I then change the label text to, for example, "myUserid", the question is: how can I know which real table field does "myUserid" point to ?
In other words, when my form is submitted, I want to know which field name has been changed and prepare an update sql in a bean.
For this purpose I bind each view field to a validator function in the bean, and collect al the pairs "label_name + submitted value" in an hash table.
Now inorder to build up that update query, I need the mapping between the label_name ("myUserid") and the real table field name ("user_id"). The question: how to map the label to the real table field name ?
By the way, I'm using JDeveloper 11g rel. 2.
Regards,
Sergio. -
FM that retrieve the inner authorization object BBP_ROLE using user's role
Hi Experts!
Do you know what Function Module can be use to retreive the inner authorization object BBP_ROLE using the user's role
e.g. BUYER : YT:PU:XXXX:BUYERROLE
Object : BBP_ROLE SRM: User function / Role
field name : BBP_ROLE SRM: User function / Role
Activities
Sel Activity Text
x EMP Employee
x OPP Operational Purchaser
......etc
Thanks!Hi
Execute Txn S_BCE_68001414 in debug mode, and figure out how system takes the inner authorizations through the flow of this program
Regards
Virender Singh -
Can I programmatically change the FP IAK file in LabView
We are using our FP-1000 as dataloggers for thermocouples and voltage reading. However the configuration of the setup may change depending on which (and how many) modules are attached to the communication module. I would like my program to go out to the FP and figure out which modules are attached and then ask for channel configuration info form the user. This will prevent from needing multiple iak files and the operator will not have to use FP Explorer. Can this be done? Thanks.
Mike,
Yes, this can be done. You can use the low level serial FieldPoint VIs to do what you wish. The FieldPoint Serial VIs are located under the FieldPoint>>Advanced>>Serial Configuration palette. Side Note: These VIs used to be installed by default only if you had LabVIEW RT on the system, you may need to do a custom reinstall of NI-FieldPoint to get the VIs. The VIs allow you to determine what modules are attached (!B), configure the channels (!D), and read/write the channels. These commands are all documented in the FP-1000/1001 Programmers Reference Manual available at http://digital.ni.com/manuals.nsf/websearch/EE241C7357D3F8CE862567840072F554?OpenDocument&node=132100_US .
Regards,
Aaron -
I keep getting the "connect to itunes" screen and have to connect to itunes and do a restore on it. It will not pick up my ipad so I either have to do a restore or restore to new and it will work fine for a day or so except for dropping the wifi connection. What can be causing this? I have had this pad since January of this year and have not had any problems until recently.
If you have to keep restoring your iPad with iTunes repeatedly and there is no change after restoring as a new iPad or not from the iPad's backup, your iPad has a major problem - likely a hardware problem. The iPad includes a one year warranty. You can call AppleCare or make an appointment at an Apple store if there is one nearby.
-
Problem in creating the ADODB.Connection object Error Number returned:-2147024770
Hi,
We are migrating our applications from Windows 2003 to 2008 application server. We have vbs script in a job which is invoked from Tivoli Workload Scheduler (Windows)/JOBLNCH 8.5.1. We are getting the error while creating ADOBD object (Error Number returned:-2147024770).
The error does not occur when we directly run the job on the 2008 server, but only when invoked throught the TWS scheduler. Also, this error is not occurring on 2003 server when run through the TWS.
Here is the code snippet used to create object.
set oSrcConnect = CreateObject("ADODB.Connection")
Could you please help us identify if any settings need to be changed to avoid this error. Many Thanks for looking into the question.Hi,
Error -2147024770 = hex 8007007E
Least significant 32 bits are hex 7E = decimal 126
C:\>net helpmsg 126
The specified module could not be found.
This usually indicates that the COM object you're using is trying to load a DLL that is not installed.
Based on only this error message, there's no way we can tell you how to fix your script.
Bill -
bought a used macbook pro. When i click the top right corner where "user" would be displayed, once i click on it it requires a password to login "windows".
problem is, i don't know the password or apple IDIf you have downloaded any older Mac OS X version 10.7 or later to another Mac, you can re-download from Recovery. You may have to enter YOUR Apple-ID.
If you have never downloaded an older version before, go the the Mac App Store, log in with YOUR Apple_ID, and BUY a copy of Mavericks or Yosemite. It is on sale for $0. Download it and Install it over what is on that Mac. -
My question is whether my IOS devices should appear on the Airplay device list in the Remote application... right now Apple TV, Airport Express, even my Samsung Note 3 appear as devices I can stream my iTunes library to... I can't seem to find a way to add the iPad or iPhone to that airplay list... I can use either the iPad or iPhone to direct playback to any of the listed devices... that works great... but, they don't seem to allow me to direct playback back to the device I am using as the remote. I'm trying to figure out if this is by intent or just not working right.
As a point of context, I am able to use my Samsung Note 3 to do exactly what I am trying to do with the iPad and iPhone... it works great.
And I understand that Apple intended me to use the Music app to play my shared library to my device... however, I have a BIG music library and when I ask the Music app to load up my shared library the little red circle gets about half full and hangs up... it never get there. The Remote app is great... I can see the whole library instantly and play any song I want to the listed Airplay devices... that part is sweet... but I can't (and maybe there is no way to) add my IOS devices to the airplay playback device list.
I've burned a lot of time trying to figure this out... any help, including somebody telling me that it just isn't supposed to work that way, would be appreciated.You have to swipe in a left to right motion. If the airplay icon isn't showing up it's likely something within your network that is blocking it. You can also try rebooting devices and router.
http://support.apple.com/kb/HT5209
http://support.apple.com/kb/TS4215 -
I have recently rebooted my laptop, and today I clicked the side of my Facebook page and my mouse turned to a cursor. It has gotten so bad that IF I click the side of my page on anything it will highlight everything in it's path! Can Someone Please help Me because it is beginning to get on my nerves! I have school work to do and this issue is slowing me down.
Hit '''F7'''.
http://kb.mozillazine.org/Accessibility.browsewithcaret -
carrier tab used to be under location services,,, and then it went somewhere ,,and then it came backk ,,does it happen to everyone?
What are you talking about?
-
How to programmatically get the serial number of DeviceNet card?
I'm using LabVIEW 6.1 and NI-DAQ 6.9.3.
I notice that in MAX 4.0.2 the serial number of my PCI-DNET card comes up. Is there some way I can access this programmatically in LabVIEW, either thru the DAQ driver or via the NI-DNET (version 1.4.1) LabVIEW driver?Thanks! That worked perfectly. Another thing I'm attempting to do is programmatically retrieve the (device-specific) input/output lengths necessary for I/O connections. I can get this of course using the Get DeviceNet Attribute.vi using classID 5, instance ID 2 (e.g.), attribute IDs 7 & 8. However, this will work only AFTER the I/O connection has been opened; and to open the connection, I need to have this information!
SimpleWho appears to retrieve this info somehow (perhaps thru the CAN driver). Any ideas on how I can mimic this behavior from within LabVIEW (versions above)?
Thanks!
Maybe you are looking for
-
Error when filling/saving a form
Hi, I have a form for entering newspaper articles. I noticed that when I paste some text in the textboxes of the form and try to save the form I get the following error: "An unexpected error occurred: ORA-01403: no data found (WWV-16016)". If I write
-
After 10.5 most sites display only vertical I know these sites were both
Most sites are forced to be viewed vertical. 3/4 of my apps will not rotate to the horizontal position. When you fire off an app. It comes up horizontal but quickly forces to verticle.
-
How do I install adobe CS3 on a macbook pro that does not have a disc operation.
-
Picture Thumbnail Missing in Firefox
A few of my product pages with products picture in thumbnail cannot be displayed. It seems it is not loaded at all when I use firefox. Everything looks ok in Chrome. Please help.
-
Why can't I share or send files from my iphone to my macbook pro using Bluetooth?
I cannot believe Apple has not fixed this problem. This should be intergrated in their OS. And it is not. Shame on Apple.