06-04-2014 10:27 AM
Yeah. It did work! Thanks a lot!
08-01-2014 03:05 PM
Hey, I tried using the LabVIEW wrappers and the VI GetCollectionNames.vi is broken. The error I get states that the MongoDatabase node ( GetCollectionNames ) has an unwired node. Yet, no matter how many times I rewire the nodes, it remains broken. Any ideas on what the problem is or what the problem actually is?
08-01-2014 03:16 PM
@BigJosh2013 wrote:
Hey, I tried using the LabVIEW wrappers and the VI GetCollectionNames.vi is broken. The error I get states that the MongoDatabase node ( GetCollectionNames ) has an unwired node. Yet, no matter how many times I rewire the nodes, it remains broken. Any ideas on what the problem is or what the problem actually is?
It would help if you posted your VI.
08-01-2014 04:10 PM
It's located in the zip in message 7 of this Discussion forurm. The VI in question is GetCollectionNames.vi.
08-01-2014 06:40 PM
I was able to fix the issue when I modified the Get Collection Names.vi by deleting the database node that calls GetCollectionNames, created a new database node and setting it to GetCollectionNames, and wiring it. Go figure.
02-19-2015 07:45 PM
This is awesome,
but i have one doubt,
how can i assign the ID to the MongoDocument, i see that in this example you generate and ObjectID (Type) and ID, so,
if i need an ID like 1, 2, 3 how can i make it?
thanks anyway!!!!
and great work!
02-20-2015 04:38 PM
Hi EstebanVS,
You might want to try to make a new forum post. This one is over six months old, and there's a good chance the original poster won't reply.
02-20-2015 05:24 PM
02-20-2015 06:05 PM
wow, thanks for your reply guys,
i will look at it, but in the example you post theres no way to write right?
Pete.Dunc escribió:
Hi Esteban,
The _id field is the one which mongodb uses as a primary key, you can set it to anything (in the BSON record). In the mongodb docs there is a way to have an auto incrementing id (http://docs.mongodb.org/manual/tutorial/create-an-auto-incrementing-field/).
Hope that helps! It's been a while since I looked at this.
02-21-2015 08:07 AM