If I understand your description, the red means the inputs were incorrectly formed and doesn't match the type expected by the vi.
- Delete the ones with red
- Position your cursor over the input node on the vi, right-click and choose Create -> Constant
- You should get the correct input types.
You can post a VI snippet for me to double check if you like.
Highlight the section of code that has the red, then go to
Edit -> Create VI Snippet from Selection
that creates a png image that has embedded code. I can then drag that onto a blank vi and have a working copy of your code problem to help debug.