Can I automate the creation of a cluster in LabView using the data structure created in an autogenerated .CSV, C header, or XML file?
Can I automate the creation of a cluster in LabView using the data structure created in an auto generated .CSV, C header, or XML file? I'm trying to take the data structure defined in one or more of those files listed and have LabView automatically create a cluster with identical structure and data types. (Ideally, I would like to do this with a C header file only.) Basically, I'm trying to avoid having to create the cluster by hand, as the number of cluster elements could be very large. I've looked into EasyXML and contacted the rep for the add-on. Unfortunately, this capability has not been created yet. Has anyone done something like this before? Thanks in advance for the help.
Message Edited by PhilipJoeP on 04-29-2009 04:54 PM
Solved!
Go to Solution.
smercurio_fc wrote:
Is this something you're trying to do at runtime? Clusters are fixed data structures so you can't change them programmatically. Or, are you just trying to create some typedef cluster controls so that you can use them for coding? What would your clusters basically look like? Perhaps another way of holding the information like an array of variants?
You can try LabVIEW scripting, though be aware that this is not supported by NI.
Wow! Thanks for the quick response! We would use this cluster as a fixed data structure. No need to change the structure during runtime. The cluster would be a cluster of clusters with multiple levels. There would be not pattern as to how deep these levels would go, or how many elements would be in each. Here is the application. I would like to be able to autocode a Simulink model file into a DLL. The model DLL would accept a Simulink bus object of a certain data structure (bus of buses), pick out which elements of the bus is needed for the model calculation, and then pass the bus object. I then will take the DLL file and use the DLL VI block to pass a cluster into the DLL block (with identical structure as the bus in Simulink). To save time, I would like to auto generate the C header file using Simulink to define the bus structure and then have LabView read that header file and create the cluster automatically. Right now I can do everything but the auto creation of the cluster. I can manually build the cluster to match the Simulink model bus structure and it runs fine. But this is only for an example model with a small structure. Need to make the cluster creation automated so it can handle large structures with minimal brute force. Thanks!
Similar Messages
-
Automatic folder creation fails ... trying to use the bulletin board tutor
Hello,
I would like to create a blog using KMC functionality. For this I found an sdn article on how to create an bulletin board an this tutorial has some functionality I need in the blog too.
Unfortunately I have some problems when I want to have an folder created automatically. Here are the steps I am doing:
Creating a folder in the km-content named /documents/Blog
In Content-Management > Repository Filters > Userhome Filter+ I created an filter:
Name: Blog
Priority:
URLs: Postings
Prefix: /documents
Startpath: /Blog
Then I created a folder for the km-navigation iview in the portal content. The path to the initial folder is: /alias/documents/Blog/<user.id>/Postings
But when I call the preview to see the newly created folder ... I get the error message that the object couldn't be found (translated it means something like):
Object not found /alias/documents/Blog/<user.id>/Postings
Has someone an idea what the reason could be? Is it that the automatic creation of folders is only possible in special folders?Did someone faces the same or an similar problem and could help to solve it?
Thanks a lot and have a nice weekend,
VanessaHello,
It worked perfectly fine for me.
Of course only after the restart.
Regards
BP -
in a future version of ibook author would be very useful to provide for the creation of shared content online.
Teachers can collaborate on the creation of a text. Very useful for teachers to collaborate in the network. sharing sharing sharingAs always, feel free to use the 'Provide iBooks Author Feedback' menu item for features you'd like added in the future, etc.
http://www.apple.com/feedback/ibooks-author.html -
Can we Automate User Creation in SAP IDES?
Hey Guys,
I found this piece of information on Internet somewhere.
"SAP provides a simple user creation mechanism for IDES system. An enhancement is already active by the name USRADMIN this contains code that executes just after the user logon. If somebody logs on as 'MUSTER' with password 'IDES' it prompts to create a user. and after the creation MUSTER is logged off. If the password of MUSTER is changed the program also reset the password to IDES always. the password is hard coded in the code
For this to be active an entry has to be maintained in the table zides_user_procc . In this table we maintain the SAP system SID, client where this functionality is to be active and also maintain the reference user which will be copied to the new user ."
*bolIt was a while back, but the logic was like this:
User logs into webpage on intranet. Lets just say that authentication to that resource is dealt with separately here.
User is presented with a form and fills in info like
UserID required
FirstName
LastName
email address
Password
This info is used by some backend VB code which initialises an RFC connection with SAP.
Once RFC is established, a function module to copy an existing template user is executed (template user contains roles to copy etc). The new user is created as required and you can then log on & use it.
To be honest, most self service sandbox systems tend to be the log in using existing user & create yourself a user or run a prog which will do it for you.
Hope that helps,
Cheers
Alex -
When I create a new address in Contacts the country is automatically coming in as Netherlands - though I'm using the phone in USA. Can't find how to change country default.
https://discussions.apple.com/message/16474985#16474985
-
I have two hard drives on my mac 10.5.8 power pc and hear the clickking sounds of the first hard drive and think that it may be dying, can I install everything on the other hard drive also and wait for the first drive to die before i use the other drives? Or, what is the best way to handle this?
I do not know what you are waiting for.
I'd make a backup of your important stuff before cloning the entire disk.
Carbon Copy Cloner will copy your startup drive to an external firewire drive. You can boot from the external drive to verify that you have a good clone. When you upgrade your existing startup drive, you can at any time boot from your external drive and go back to your existing system.
http://www.bombich.com/software/ccc.html
SuperDuper is the wildly acclaimed program that makes recovery painless, because it makes creating a fully bootable backup painless. Its incredibly clear, friendly interface is understandable, easy to use, and SuperDuper's built-in scheduler makes it trivial to back up automatically. And it runs beautifully on both Intel and Power PC Macs! -
How can i add my outlook email to my ipad without useing the Exchange Service?
Please help me in this, How can i add my outlook email to my ipad without useing the Exchange Service?
I'm afraid you've posted in the wrong place. This is a technical forum around a particular product called 'SharePoint'. This does talk to Exchange and Outlook in places but we don't specialised in either of those. You should have a look for one of the
generic Outlook support forums or contact your IT department if it's a work related account. -
How can I block all other mail account just to only use the exchange mailbox of our company? This is to prevent the user to setup his on company iPhone.
I don't know if I'm asking this all in a way that can be understood? Thanks ED3K, however that part I do understand (in the link you provided!)
What I need to know is "how" I can separate or rather create another Apple ID for my son-who is currently using "my Apple ID?" If there is a way to let him keep "all" his info on his phone (eg-contacts, music, app's, etc.) without doing a "reset?') Somehow I need to go into his phone's setting-create a new Apple ID and possibly a new password so he can still use our combined iCloud & Itunes account?
Also then letting me take back my Apple ID & password, but again allowing us (my son and I) to use the same iCloud & Itunes account? Does that make more sense??? I'm sincerely trying to get this cleared up once and for all----just need guidance from someone who has a true understanding of the whole Apple iCloud/Itunes system!
Thanks again for "anyone" that can help me!!! -
How can I recover an old/disused iCloud account. I was having some issues with my apple id so I restored my iPad, I am now stuck on the activation screen as I no longer use the iCloud account i used to set up the iPad and can't remember the address or pas
I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
The old email address no longer exists - I haven't used it in a year probably and I no longer have the account. I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there. On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back. Every 2 seconds I am asked to log in using the old non-existent email. The device is currently useless.
The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option? -
Siri says she can't read my email from the iphone5s lock screen when I'm using the standard headphones, but I could do that on 4s. How can I get my 5s to do that?
Hi Liz,
Sorry to hear you are having a similar problem. Last night I went to the tool bar at the top of iphoto, clicked on "File", then clicked "Browse Backups" in the drop down menu. I have an external hard drive that is set up to Time Machine. The Browse Backups opened the iphoto pages in the Time Machine. I selected a date one day ahead of the day I performed the now infamous update, and it showed my iphoto library as it had existed that day. I then clicked "Restore Library" at the bottom right corner of the Time Machine screen. Roughly 2 hours later my iphoto was back to normal. When I opened iphoto there was a message saying I need to upgrade my program to be compatible with the new version of iphoto(version 9.2.1). I clicked "Upgrade" and within seconds it had done whatever upgrading it needed to do.
The only glitch in the restoration was that it restored the library as it appeared last week, so I no longer had photos I had imported this past weekend. I simply went back to the Browse Backups in the drop down menu, when Time Machine opened I selected the page showing my pictures from this weekend and again said to Restore Library. Roughly 45 minutes later the library was restored including the most recent photos.
I am now a happy camper.
I don't know if any of this will be of help to you because your email says you are having trouble with photos imported after the upgrade was performed. Have you had any pop up notices when you first open iphoto, that tell you you need an upgrade to be compatible with the new iphoto? If so have you clicked "upgrade"?
Good luck Liz, if you have Time Machine running as a back up to your library, maybe you wil be able to get help there, by following my instructions above. Otherwise, good luck with your investigations. I'd be interested in hearing how you make out.
Karen -
Can I hook my iphone 5 to a touchscreen monitor and use the touchscreen feature of the monitor. Would I have to use the lighting to hdmi?
The connection of the phone to the monitor would allow you to see, but does not have the ability to translate the touch on the monitor to the phone through that cable.
-
My phone was stolen, but I had no data left and so can't locate it till the person who has it tries to use the internet. I backed up all my photos on iCloud, and want to get them on my PC. I installed iCloud onto the PC and followed the instructions and still can't find my pictures, says my photostream folder is empty, but it shows on iCloud that i've used most of my storage which is true, so they must be there somewhere?
Any ideas? I'd really appreciate the help! ThanksYes, I filed police report, but there is nothing they can do until I get back to them on the tracking. It's been offline. I'm sure the whoever took it can find a way around breaking in the ipad..i really was hoping to get my pictures and videos of my kids back
-
Can I access English movies and TV, living in Germany using the Apple TV
Can I access English movies and TV, living in Germany using the Apple TV or maybe something else?
I live since short in Germany and would like to have access to English TV and English movies using my internet connection. Looking at for example the Apple Store your store connection is based on your IP {address and this lands me in the German store where movies are not available in original language (or so it seems, if you do not know this the Germans change the soundtracks of all foreign movies to German by dubbing).
Does anybody know how I would be able to watch either UK or USA TV over the internet (preferable on my TV)?
I say thank you and yes in case you did not guess, I am new to the topic of TV over internet.thanks Jolly Giant
however, there are somewhat limited options such as [_*Kabel Digital*_|http://www.kabeldeutschland.de/fernsehen/kabel-digital-international/englisch.ht ml].
I looked in to that and they are non of the channels I want to see. Most of it is stuff you catch free to air.
additionally, many movies, tv shows and sport broadcasts on [_*Sky Deutschland*_|http://www.sky.de/web/cms/de/abonnieren-senderinfos.jsp] come in [Zweikanalton|http://en.wikipedia.org/wiki/Zweikanalton].
I talked to the Sky folk in Germany a while ago, and sorry to say they are as knowledgeable as the Sky UK people. In other words nobody could guarantee me anything or commit to it beingavailable in English. The most committed answer I got was that it depends on many things and one would have to look at each broadcast to see if it is also available in English.
Hence my search continues. -
I tried to send a mail message to too many addees. when the rejection came back "cannot send message using the server..." the window is too long to be able to see the choices at the bottom of it. how can I see the choices at the bottom of that window?
I tried to send it through gmail and the acct is a POP acct
I'm not concerned about sending to the long address list. I just can't get the email and window that says "cannot send emai using the server..." to go away. The default must be "retry", because although I cannot see the choices at the bottom of the window if I hit return it trys again... and then of course comes back with the very long pop up window that I cannot see the bottom of so I can tell it to quit trying... -
Hey guys, I am newbie here ;(.. I have a question regarding my new apple id. at this moment i've still have all the applications that i've been purchased by using my old apple id.
In case there are an update for the applications in my iphone, " Can i use my new apple id to update all the application that i've been purchased with my old apple id ". If its not possible to do, are there any suggestion for me to updates all the applications by using my new apple id ?
Many thanks ;)Apps must be updated using the Apple ID used to originally download them to the device.
If you cannot or will not use the old Apple ID, then you can delete the app, and then download it again using the current Apple ID. Be aware that any paid apps will have to be purchased again.
Maybe you are looking for
-
Trying to change the Tab size of SQL Server 2008 R2 ?
Been trying to change the size of the tab but it just doesnt change! Went to Tools-Options-Text Editor-Transact-SQL From 2 to 1. Any ideas?
-
Installing Windows XP on a new MacBook Pro with Retina Display.
I just purchased a new MacBook Pro with Retina display and need to install Windows XP on it so that I may run 3 Windows programs. I have watched a few videos on the internet on how to do this through Boot Camp Assistant, and it says at one point to
-
I recently bought a new iPod 5gen and the iPod dosent hold it's charge it stays at 40 sometimes 20 percent half an hr goes by and it says it's fully charged once I unplug it it says it has 20 percent what can I do to fix it or what can I do about it?
-
New domain file causes iweb to quit unexpectedly
iWeb quits unexpectedly upon starting when I try to open a domain file transferred to my G5 from my iBook. The domain file works fine on my iBook. (This transfer did work the first time I tried it, but apparently the domain file later became corrupte
-
Hi experts error while adding UDF ,UDT and UDO
Hi , When i adding udf i getting error msg "Ref count for this object is higher then 0" Plz reply as soon as possible Awaiting Soon Reply Rajkumar Gupta