[Bug] Writing to the same trace in Citadel from two Sources at the same time
Howdy
I am experiencing an issue and am looking to get some NI support:
I have two distributed applications that can write to a Citadel database at the same time.
And I am investigating the possibility of what would occur if both of them were writing to the same variable at the same time, with possibly the same timestamp data.
I did this in the attached VI by using the same timestamps with a constant for the data (either #1 or #2).
This generates an error, as expected, stating you cannot have two references open at the same time.
The data file, dumped from Citadel, contains 1000pts with all data from only one of the arrays (in this case #2) and everything looks fine:
However, what appears to be happening randomly tho, is that the same portion of code can also returns no error.
When the data is dumped from Citadel this file contains 2001pts - 1000pts from each array and one separator (or break) point:
You cannot write an older timestamp to Citadel without it throwing an error, but from further testing it seems you can write the same timestamp repeatably. So I am guessing what is happening above is race condition that is somehow allowing two references to be opened to Citadel which should throw an error but it does not and this is somehow allowing both sets of data to be written by both loops??
The data, IMO, is now corrupted.
Is being able to write to the same timestamp a desirable feature?
Or is this a known issue or a bug?
What about acquiring two references - bug?
Is there a workaround to protect the data from multiple distributed-application writes?
Cheers
-JG
Attached VI was coded and tested using LabVIEW 2009 SP1, DSC 9.0.1, MAX 4.6.2f1
Certified LabVIEW Architect * LabVIEW Champion
Attachments:
dual_databaseWrite.vi 21 KB
Ben S wrote:
The race condition of opening the refererence in two places at once should still apply to two different VIs running at the sametime.
Will a CAR be lodged for this?
Ben S wrote:
If you open up the code and save it as a .vit, you don't get any missing VIs. Only when you change the extension without the aid of LabVIEW.
No VI should have missing members by simply renaming its extension outside of LabVIEW???
I think there is an issue with the VI.
Can you replicate the following and verify what I am seeing?
Attached is a Project with Main VI (contains a call to the Open Trace.vi polymorphic only), a Class and a Build Spec
If you Build the spec with the Main VI outside of the Class it works
If you place the VI in the Class, save then Build, the Spec fails with the error:
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 1003 occurred at AB_Application.lvclasspen_Top_Level_VIs.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Engine_Build.vi -> AB_Build_Invoke.vi -> AB_Build_Invoke.vi.ProxyCaller
Possible reason(s):
LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 1003 occurred at AB_Application.lvclass:Open_Top_Level_VIs.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Engine_Build.vi -> AB_Build_Invoke.vi -> AB_Build_Invoke.vi.ProxyCaller
Possible reason(s):
LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.
Next place a disabled structure around the Polymorphic VI (as Class Member or not, it doesn't matter)
Save the VI
Close the VI
Open the VI - the Open Trace.vi polymorphic is "missing"
Cheers
-JG
Code in LV2009
Certified LabVIEW Architect * LabVIEW Champion
Attachments:
DSC.zip 341 KB
Similar Messages
-
If I have 2 tv's and each their own apple tv can I display the same program to them from my macbook at the same time?
for instance Keynote?Welcome to the Apple community.
The Apple TV cannot display keynote presentations or websites from the computer. It can display them via mirroring from the iPad 2 or better or the iPhone 4S.
You cannot AirPlay to 2 Apple TV 2's at the same time from an iOS device. You can watch the same video, TV show or listen to the same music from your iTunes library on multiple Apple TV's at the same time. -
Ive just got a new iPhone4 and I am trying to get the App's ie games from my iPhone3 onto the 4 and retain the same levels that I have reached on the 3,
The Apps have gone onto the 4 but its making me re-start everything from level 1?
Ive paid $$ for the games and then more $$ within the games via iTunes for in game purchases and desperatly want the games on the 4 with the levels that I have reached on the 3!
Can anyone help!! Please!!!! My Smurfs and Animals are starving HahahahaMate, it's good to hear that you have gotten the iPhone 4 but sorry to burst your bubbles. Not all games can have the "saved" data ported over.
Normally when you save a game in iPhone, the memory used is in the flash memory of the device. Those that can be ported over, reason is due to the data being saved over the air and when you logged in on a new device, it recognises you via the userID.
Maybe you can try to backup your iPhone 3, and restore the file onto your iPhone 4. Not too sure if that would brick your phone though. -
Get the Common from Two Internal Tables with same structure
Hi ,
I need to get the Common data from Two Internal Tables with same structure with using the looping method.
For e.g.
I have two internal table say ITAB1 and ITAB2.
ITAB1 has values A,B,C,D,E,F
ITAB2 has values A,H,B,Y,O
Output at runtime should be : A,BHi mohit,
1. If u want to compare all fields,
for matching purpose,
then we can do like this.
2.
report abc.
data : a like t001 occurs 0 with header line.
data : b like t001 occurs 0 with header line.
loop at a.
LOOP AT B.
IF A = B.
WRITE :/ 'SAME'.
ENDIF.
endloop.
ENDLOOP.
regards,
amit m. -
Since upgrading, both our wireless printers are still visible, but OSX will not connect with them. Both work via connecting from other sources via the same wireless router (airport). What do I need to do to get my printing/scanning working again?
First thing to try is reset Printing System:
OS X Mavericks: Reset the printing system
Next would be reset the router (power off 15 secs then back on). And, 2 minutes later, reset the printers 1 by 1. -
When i send an imessage from ipad I get the answer most times at the iphone, not at ipad from where i sent the message. Apple ID on both devices is the same. What can i do?
I am sorry, my english isn't very good.
Next try :) I send a iMessage from my ipad (wifi only) to a friend and he answers but i don't receive the answer on the ipad but on the iphone instead. Both devices using the same Apple ID (Settings>Messages>Receive At, same Adress on both devices). I tought iMessages are always received on bothe devices, like the advertisment says i should be able to start a iMessage conversation on ipad and finish it on iphone because both devices receive my iMessages... Thats not like it is on my devices, most times iMessages are only received from the iphone. -
Query to get the list of Employees Transferred from one dept to the other
Hi friends,
Can some one give me the abstract query for the employees who aare transferred from one dept to the other
thanksIn this table oracle auto upload data at particular time but if you want to upload at the same time, therefore you need to run request "Update Assignment Events Fact ", after running this request you will find data in this table.
--thanks -
Hi chaps. FaceTime question. I can FaceTime by phoning my iPhone 4 from my iPad 2 but cannot phone my iPad from the iPhone. When facetimeing from phone to iPad the phone says it's busy. The iPad rings once and then stops. Any ideas. Regards Jon
Perhaps this discussion will help with your issue,
https://discussions.apple.com/message/16502324#16502324 -
How do I download previously purchased albums from iTunes when the album has either disappeared from my computer or the tunes are not playable? The albums show as purchased on the iTunes store, but not available to download to my authorized device. I also have albums that appear in my library, but are not able to be added to my iPod from my computer
When you download something from the iCloud, it is a brand new licensed copy. Your iCloud account just contains a notation that you have this app. It isn't storing an actual copy of the app from your Mac.
-
How to I delete all contact on my iPhone at once? These are contacts ABOVE the contact folder that says, "From My Mac."
Someone said create a new empty folder on the computer and sync to that -- didn't work .
Another person said, "Reset information in settings to restore to the default." That would erase ALL of the conetent I have on the phone and I do not want to erase all of the other settings and content from my iPhone -- just the contacts.
There has to be a better way than gong through and deleting one-by-one.Go into Settings...Mail, Calendar and Contacts and siwtch off the Contacts section from the account in question.
The phone should ask you if you want to keep or erase the contacts stored on you phone.
However, if they aren't synched to anything and only exist on your iPhone, you'll have to delete them all one by one -
Hello I have the Latest version of Adobe Lightroom 5 to date (8/26/14) however just recently when I open the develop tab I'm missing two options on the right side column "Lens correction" and "Effects" I do not know I've hit some setting to remove those options or if this latest version deleted those options? Any help would be greatly appreciated and please excuse my ignorance :/
Right click next to one of the other headers and you will get a pop-up to enable the missing ones.
-
Since my last software update, my iphoto 11 will not import any photos from any source. The circle just spins...when I go to force quit, it says iphoto not responding. Backed up iphoto library, uninstalled and reinstalled iphoto. Still not working. Help!
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
Regards
TD -
Hi
Is there a way to filter a drop down list by using the result main data display from"GetUserProfileByName" when open the form?
The second source has a huge list of company names that can be narrrow by email work.
background:SP 2010 and Infopath 2010
CRISTINA& MICROSOFT ForumI'm not sure if I understood your question clearly but here is a good resource on how to get attributes from "GetUserProfileByName" web services:
http://blog.mangroveweb.com/pre-populating-an-infopath-from-with-mysql-data-using-a-net-web-service/using-sharepoints-getuserprofilebyname-web-service-to-retrieve-ad-account-information/
Regarding filtering dropdown list then this could be done by applying form on-load rules.
Hope this helps -
Is there any way to download these files manually from another source? The download from boot camp keeps stopping at around 25% and then produces the error "Can't download Windows Support Software because of a network problem". Thx!
No. This issue is dicussed here frequently. The only option is to be patient and try often. Search this forum for other posts about this issue.
-
If the ipod is being bought from USA then will the warranty be valid in India?
if the ipod is being bought from USA then will the warranty be valid in India or not?
Yes
Maybe you are looking for
-
Error while trying to use ESS iViews
Hi All Experts, We are upgrading our portal to EP 7.0 I am working with ESS iViews and when I try to open any ESS iView say, Benefits and Payment, I get the following error. Service cannot be reached What has happened? URL https://srams.dev-sap.gra
-
Error in License check for IDES ECC 6.0
Hi All, I am unable to log into our 800 client since yesterday, i am getting the foloowing error while trying to log in "Logon not possible (error in license check)" Before this we were getting a warning message that the license will expire in 10 day
-
How to redo the Google Maps demo?
Hi there, I would like to setup a scenario similar to the US popuplation count with google maps as seen on the experiencesaphana page. I'm having no problems reading the data from my HANA tables, but how to I get the information from google maps abou
-
ITunes not recognizing my sim card after iPhone update
Hi, So I just updated my iPhone software to the iOS 4 version on my 3G and connected it to itunes. Everything got backed up fine but when connecting to the itunes store, it says that my sim card is not supported. I've tried turning it off and switchi
-
SMTP server has rejected address
When sending an email to a specific address - and only for that specific address - I always get the following message from [email protected]: Remote SMTP server has rejected address Diagnosecode: smtp;553 sorry, your envelope sender is in my badmailf